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)
commit463a9215f3ca7600b5fff6d903913906ae4548a9
tree4d98cfda66cc549e8250d24f3b5f13b5d7113494
parent9e66317d3c92ddaab330c125dfe9d06eee268aff
i2c: stm32f7: fix setup structure

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

Fixes: aeb068c5721485 ("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