Skip to contentSkip to conversation

rtc: hid-sensor-time: stop selecting IIO

PATCH New Alexandre Belloni 1 participant 1 message Feb 13, 2019 Real time clock (RTC)

lore
Share & tools
lore

Alexandre Belloni

author maintainer
#0 lore raw

PATCH 1/1 rtc: hid-sensor-time: stop selecting IIO

Make RTC_DRV_HID_SENSOR_TIME depend on IIO and HID_SENSOR_HUB to remove possible circular dependencies as this is the only symbol selecting those.

---
 drivers/rtc/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/rtc/Kconfig +1 -2
index a08785ac8903..5d155ce99517 100644
@@ -1835,8 +1835,7 @@ comment "HID Sensor RTC drivers"
 config RTC_DRV_HID_SENSOR_TIME
 	tristate "HID Sensor Time"
 	depends on USB_HID
-	select IIO
-	select HID_SENSOR_HUB
+	depends on HID_SENSOR_HUB && IIO
 	select HID_SENSOR_IIO_COMMON
 	help
 	  Say yes here to build support for the HID Sensors of type Time.
Signature · 1 line
2.20.1