mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
rpi4b/bringup: Use correct CONFIG option for I2C char driver
Change the I2C character device registration to depend on the correct CONFIG option for enabling character drivers. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
parent
379dd1c5e0
commit
ff509c1dca
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ int rpi4b_bringup(void)
|
|||
|
||||
/* Initialize I2C character drivers. */
|
||||
|
||||
#if defined(CONFIG_BCM2711_I2C)
|
||||
#if defined(CONFIG_BCM2711_I2C_DRIVER)
|
||||
|
||||
#if defined(CONFIG_BCM2711_I2C0)
|
||||
ret = bcm2711_i2cdev_initialize(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue