summaryrefslogtreecommitdiff
path: root/drivers/hid/i2c-hid/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/i2c-hid/Kconfig')
-rw-r--r--drivers/hid/i2c-hid/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/i2c-hid/Kconfig b/drivers/hid/i2c-hid/Kconfig
index 3be17109301a..2bdb55203104 100644
--- a/drivers/hid/i2c-hid/Kconfig
+++ b/drivers/hid/i2c-hid/Kconfig
@@ -70,5 +70,7 @@ config I2C_HID_OF_GOODIX
config I2C_HID_CORE
tristate
+ # We need to call into panel code so if DRM=m, this can't be 'y'
+ depends on DRM || !DRM
endif