projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8005c49
)
hwmon: (ina2xx) Fix build issue by selecting REGMAP_I2C
author
Li Yang
<
[email protected]
>
Thu, 5 Nov 2015 20:18:17 +0000
(14:18 -0600)
committer
Guenter Roeck
<
[email protected]
>
Mon, 16 Nov 2015 05:52:39 +0000
(21:52 -0800)
Since
a0de56c81fcf
("hwmon: (ina2xx) convert driver to using regmap")
the driver requires REGMAP_I2C to build. Select it by default
in Kconfig.
Reported-by: Guo Chunrong <
[email protected]
>
Cc: Marc Titinger <
[email protected]
>
Signed-off-by: Li Yang <
[email protected]
>
Fixes: a0de56c81fcf ("hwmon: (ina2xx) convert driver to using regmap")
Signed-off-by: Guenter Roeck <
[email protected]
>
drivers/hwmon/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/hwmon/Kconfig
b/drivers/hwmon/Kconfig
index 842b0043ad9477160194a7c7a94b03f7ab06d5a1..6e4e0464e7761fa5f9ef77f6d435521e491fb986 100644
(file)
--- a/
drivers/hwmon/Kconfig
+++ b/
drivers/hwmon/Kconfig
@@
-1471,6
+1471,7
@@
config SENSORS_INA209
config SENSORS_INA2XX
tristate "Texas Instruments INA219 and compatibles"
depends on I2C
+ select REGMAP_I2C
help
If you say yes here you get support for INA219, INA220, INA226,
INA230, and INA231 power monitor chips.