mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
arm/beanglebone: Fix i2c build error.
This commit is contained in:
1 parent
e71f0a5358
commit
2fdbdbc8b1
1 file changed
+1
-1
@@ -65,7 +65,7 @@ static int am335x_i2c_fill_registers(
|
||||
/* FIXME: The pin handling should be replaced by a proper pin handling during
|
||||
* initialization. This one is heavily board specific. */
|
||||
#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;
|
||||
#endif
|
||||
bus->regs = (volatile bbb_i2c_regs *) register_base;
|
||||
|
||||
Reference in new issue
Block a user