forked from Imagelibrary/rtems
arm/beanglebone: Fix i2c build error.
This commit is contained in:
@@ -65,7 +65,7 @@ static int am335x_i2c_fill_registers(
|
|||||||
/* FIXME: The pin handling should be replaced by a proper pin handling during
|
/* FIXME: The pin handling should be replaced by a proper pin handling during
|
||||||
* initialization. This one is heavily board specific. */
|
* initialization. This one is heavily board specific. */
|
||||||
#if ! IS_AM335X
|
#if ! IS_AM335X
|
||||||
printk ("The I2C driver currently only works on Beagle Bone. Please add your pin configs.")
|
printk ("The I2C driver currently only works on Beagle Bone. Please add your pin configs.");
|
||||||
return EINVAL;
|
return EINVAL;
|
||||||
#endif
|
#endif
|
||||||
bus->regs = (volatile bbb_i2c_regs *) register_base;
|
bus->regs = (volatile bbb_i2c_regs *) register_base;
|
||||||
|
|||||||
Reference in New Issue
Block a user