projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: convert CONFIG_SYS_MIPS_TIMER_FREQ to Kconfig
[platform/kernel/u-boot.git]
/
include
/
twl6030.h
diff --git
a/include/twl6030.h
b/include/twl6030.h
index
41f17de
..
05d476f
100644
(file)
--- a/
include/twl6030.h
+++ b/
include/twl6030.h
@@
-186,7
+186,7
@@
struct twl6030_data{
};
/* Functions to read and write from TWL6030 */
-#if
ndef CONFIG_DM_I2C
+#if
!CONFIG_IS_ENABLED(DM_I2C)
static inline int twl6030_i2c_write_u8(u8 chip_no, u8 reg, u8 val)
{
return i2c_write(chip_no, reg, 1, &val, 1);