Skip to content
Snippets Groups Projects
Commit 5aa4ad8d authored by Kim Phillips's avatar Kim Phillips
Browse files

mpc83xx: suppress unused variable 'val8' warning

parent bbea46f7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment