diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-09-13 18:21:35 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-09-16 13:36:05 +0200 |
commit | bcaa075a637af55e2d59e7333eddb250758bd545 (patch) | |
tree | 81a7ef5589fefafb74069db5b9111eaba5dc059e /board | |
parent | 08129d618c3906a696bdaf758bd7e923ea43eced (diff) | |
download | u-boot-imx-bcaa075a637af55e2d59e7333eddb250758bd545.zip u-boot-imx-bcaa075a637af55e2d59e7333eddb250758bd545.tar.gz u-boot-imx-bcaa075a637af55e2d59e7333eddb250758bd545.tar.bz2 |
mx6sxsabresd: Staticize i2c_pad_info1
i2c_pad_info1 is only used locally, so it can be made static.
Fix the following sparse warning:
board/freescale/mx6sxsabresd/mx6sxsabresd.c:160:22: warning: symbol 'i2c_pad_info1' was not declared. Should it be static?
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx6sxsabresd/mx6sxsabresd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index 5eaec1b..68d3718 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c @@ -157,7 +157,7 @@ int board_eth_init(bd_t *bis) #define PC MUX_PAD_CTRL(I2C_PAD_CTRL) /* I2C1 for PMIC */ -struct i2c_pads_info i2c_pad_info1 = { +static struct i2c_pads_info i2c_pad_info1 = { .scl = { .i2c_mode = MX6_PAD_GPIO1_IO00__I2C1_SCL | PC, .gpio_mode = MX6_PAD_GPIO1_IO00__GPIO1_IO_0 | PC, |