diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2007-08-16 22:52:59 -0500 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2007-08-16 23:12:26 -0500 |
commit | 5aa4ad8d8e7e9468219990c7875d5fdc9e962f47 (patch) | |
tree | b5f2495a434ee3cfcb97ffdd3f39108003d4d8af /board/freescale/common/pq-mds-pib.c | |
parent | bbea46f76f767b919070b4829bf34c86bd223248 (diff) | |
download | u-boot-imx-5aa4ad8d8e7e9468219990c7875d5fdc9e962f47.zip u-boot-imx-5aa4ad8d8e7e9468219990c7875d5fdc9e962f47.tar.gz u-boot-imx-5aa4ad8d8e7e9468219990c7875d5fdc9e962f47.tar.bz2 |
mpc83xx: suppress unused variable 'val8' warning
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board/freescale/common/pq-mds-pib.c')
-rw-r--r-- | board/freescale/common/pq-mds-pib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/common/pq-mds-pib.c b/board/freescale/common/pq-mds-pib.c index 9799117..8c013c7 100644 --- a/board/freescale/common/pq-mds-pib.c +++ b/board/freescale/common/pq-mds-pib.c @@ -22,9 +22,10 @@ int pib_init(void) /* Switch temporarily to I2C bus #2 */ orig_i2c_bus = i2c_get_bus_num(); i2c_set_bus_num(1); + + val8 = 0; #if defined(CONFIG_PCI) && !defined(CONFIG_PCISLAVE) /* Assign PIB PMC slot to desired PCI bus */ - val8 = 0; i2c_write(0x23, 0x6, 1, &val8, 1); i2c_write(0x23, 0x7, 1, &val8, 1); val8 = 0xff; |