i2c: i2c-stm32f7: make structure stm32f7_setup static const
authorColin Ian King <colin.king@canonical.com>
Mon, 18 Sep 2017 08:15:39 +0000 (09:15 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 5 Oct 2017 12:44:57 +0000 (14:44 +0200)
commit25f2f440989c7079fdd8fccd54592cc077b63ae5
treee9808c459ea7b722787ee30e46999f7fd86fb94e
parenta91aee523fb282f8868ba6b918f781679c3ea301
i2c: i2c-stm32f7: make structure stm32f7_setup static const

The structure stm32f7_setup is local to the source and does not need
to be in global scope, make it static const.

Cleans up sparse warning:
symbol 'stm32f7_setup' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-stm32f7.c