]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: stm32f7: fix setup structure
authorPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Thu, 21 Sep 2017 13:30:09 +0000 (15:30 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 5 Oct 2017 12:44:49 +0000 (14:44 +0200)
commit5dfe8280690b58b07ba19a20134c54df7443d30e
tree4d98cfda66cc549e8250d24f3b5f13b5d7113494
parentb888c937506147d5d77f24afb038b53ae6e1b4f2
i2c: stm32f7: fix setup structure

I2C drive setup structure is not properly allocated.
Make it static instead of pointer to store driver data.

Fixes: 21bf57cb8ec04f ("i2c: i2c-stm32f7: add driver")
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-stm32f7.c