Re: [PATCH] i2c: i2c-stm32f7: make structure stm32f7_setup static

2017-09-16 Thread Joe Perches
On Sat, 2017-09-16 at 12:33 +0100, Colin King wrote: > From: Colin Ian King > > The structure stm32f7_setup is local to the source and does not need > to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'stm32f7_setup' was not declared. Should it be static? [] > diff

[PATCH] i2c: i2c-stm32f7: make structure stm32f7_setup static

2017-09-16 Thread Colin King
From: Colin Ian King The structure stm32f7_setup is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'stm32f7_setup' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/i2c/busses/i2c-stm32f7.c | 2 +-