Signed-off-by: Adam Borowski <kilobyte@xxxxxxxxxx> --- Guenter wrote: > > -#if IS_ENABLED(CONFIG_I8K) > > +#if IS_ENABLED(CONFIG_I8K) && IS_ENABLED(CONFIG_PROCFS) > This should be expressed as Kconfig dependency: I8K should depend on PROCFS. > Otherwise the configuration flag is misleading. Right, I did not notice I8K does nothing otherwise. arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 4e001bbbb425..a7365695ff72 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1253,6 +1253,7 @@ config I8K tristate "Dell i8k legacy laptop support" select HWMON select SENSORS_DELL_SMM + depends on PROC_FS help This option enables legacy /proc/i8k userspace interface in hwmon dell-smm-hwmon driver. Character file /proc/i8k reports bios version, -- 2.33.0