[PATCH 0/2] HID: fix test for CONFIG_HID_KUNIT_TEST=m
From: Thomas Weißschuh
Date: Sun Dec 08 2024 - 07:02:14 EST
If CONFIG_HID_KUNIT_TEST is set to "m", the #ifdef test does not work.
Switch to IS_ENABLED() which works for both "m" and "y".
Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Thomas Weißschuh (2):
HID: input: fix test for CONFIG_HID_KUNIT_TEST=m
HID: uclogic: fix test for CONFIG_HID_KUNIT_TEST=m
drivers/hid/hid-input.c | 2 +-
drivers/hid/hid-uclogic-core.c | 2 +-
drivers/hid/hid-uclogic-params.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: 7503345ac5f5e82fd9a36d6e6b447c016376403a
change-id: 20241208-hid-ifdef-kunit-75643b52239a
Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>