x86/Kconfig: Fix an unused variable error in dell-smm-hwmon
[platform/kernel/linux-rpi.git] / arch / x86 / Kconfig
index ab9a4cb..6ce9068 100644 (file)
@@ -1256,7 +1256,8 @@ config TOSHIBA
 
 config I8K
        tristate "Dell i8k legacy laptop support"
-       select HWMON
+       depends on HWMON
+       depends on PROC_FS
        select SENSORS_DELL_SMM
        help
          This option enables legacy /proc/i8k userspace interface in hwmon