From: Alexandre Belloni Date: Wed, 13 Feb 2019 13:38:33 +0000 (+0100) Subject: rtc: hid-sensor-time: stop selecting IIO X-Git-Tag: v5.1-rc1~105^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cbb7b638fd1b1adaf35911a8aa812290727df4f;p=thirdparty%2Flinux.git 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. Suggested-by: Florian Lohoff Signed-off-by: Alexandre Belloni --- diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index a08785ac8903a..5d155ce995175 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -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.