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>
This commit is contained in:
parent
0ccf091d1f
commit
4732aee97b
2 changed files with 2 additions and 1 deletions
|
@ -810,7 +810,7 @@ config HID_ZYDACRON
|
||||||
|
|
||||||
config HID_SENSOR_HUB
|
config HID_SENSOR_HUB
|
||||||
tristate "HID Sensors framework support"
|
tristate "HID Sensors framework support"
|
||||||
depends on HID
|
depends on HID && HAS_IOMEM
|
||||||
select MFD_CORE
|
select MFD_CORE
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
|
|
|
@ -122,6 +122,7 @@ config PHY_SUN4I_USB
|
||||||
|
|
||||||
config PHY_SAMSUNG_USB2
|
config PHY_SAMSUNG_USB2
|
||||||
tristate "Samsung USB 2.0 PHY driver"
|
tristate "Samsung USB 2.0 PHY driver"
|
||||||
|
depends on HAS_IOMEM
|
||||||
select GENERIC_PHY
|
select GENERIC_PHY
|
||||||
select MFD_SYSCON
|
select MFD_SYSCON
|
||||||
help
|
help
|
||||||
|
|
Loading…
Add table
Reference in a new issue