aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-06-10 08:04:58 -0400
committerJiri Kosina <jkosina@suse.cz>2014-06-11 04:52:35 -0400
commit4732aee97b2b05adb472bd7a9ff31af95cbfe62a (patch)
treeb2d1423b543e522237656f604c86594f4edc7b64
parent0ccf091d1fbc1f99bb7f93bff8cf346769a9b0cd (diff)
HID: sensor-hub: introduce Kconfig dependency on IOMEM
When NO_IOMEM is enabled (e.g. score architecture), some drivers which need HAS_IOMEM need notice about it, or it will report related warning: warning: (GPIO_SCH && GPIO_ICH && GPIO_VX855 && GPIO_RDC321X && IE6XX_WDT && RADIO_WL1273 && HID_SENSOR_HUB && MFD_NVEC) selects MFD_CORE which has unmet direct dependencies (HAS_IOMEM) Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/Kconfig2
-rw-r--r--drivers/phy/Kconfig1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 800c8b60f7a2..5e79c6ad914f 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -810,7 +810,7 @@ config HID_ZYDACRON
810 810
811config HID_SENSOR_HUB 811config HID_SENSOR_HUB
812 tristate "HID Sensors framework support" 812 tristate "HID Sensors framework support"
813 depends on HID 813 depends on HID && HAS_IOMEM
814 select MFD_CORE 814 select MFD_CORE
815 default n 815 default n
816 ---help--- 816 ---help---
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 16a2f067c242..fcdfe7c0e4a7 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -122,6 +122,7 @@ config PHY_SUN4I_USB
122 122
123config PHY_SAMSUNG_USB2 123config PHY_SAMSUNG_USB2
124 tristate "Samsung USB 2.0 PHY driver" 124 tristate "Samsung USB 2.0 PHY driver"
125 depends on HAS_IOMEM
125 select GENERIC_PHY 126 select GENERIC_PHY
126 select MFD_SYSCON 127 select MFD_SYSCON
127 help 128 help