diff options
author | Arnd Bergmann <[email protected]> | 2023-06-01 23:31:54 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-06-08 06:42:53 -0700 |
commit | 153c9a023b1f455887a3fb7913207794eee3c6c2 (patch) | |
tree | a1338b89b073704d0f673c187f3c3abc8c0437e9 /drivers/fpga/fpga-bridge.c | |
parent | 23902f98f8d4811ab84dde6419569a5b374f8122 (diff) |
hwmon: (hp-wmi-sensors) fix debugfs check
Checking for Kconfig symbols with #if is wrong:
drivers/hwmon/hp-wmi-sensors.c:1141:5: error: "CONFIG_DEBUG_FS" is not defined, evaluates to 0 [-Werror=undef]
This could be an #ifdef, but an IS_ENABLED() check is even better to
give the best compile coverage.
Fixes: 23902f98f8d4 ("hwmon: add HP WMI Sensors driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: James Seo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions