]> Git Repo - u-boot.git/blobdiff - drivers/power/twl4030.c
Merge patch series "Endian Kconfig improvements"
[u-boot.git] / drivers / power / twl4030.c
index f48af84e1792bf506eaccfa615e5cede7c46524a..0c7c3960904cb96c6dbce96ba051a7c52bc11385 100644 (file)
@@ -25,6 +25,7 @@
 #include <command.h>
 #include <twl4030.h>
 #include <linux/delay.h>
+#include <linux/printk.h>
 
 /*
  * Power Reset
@@ -182,7 +183,7 @@ int do_poweroff(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 }
 #endif
 
-#ifdef CONFIG_DM_I2C
+#if CONFIG_IS_ENABLED(DM_I2C)
 int twl4030_i2c_write_u8(u8 chip_no, u8 reg, u8 val)
 {
        struct udevice *dev;
This page took 0.027439 seconds and 4 git commands to generate.