diff options
| author | Arnd Bergmann <[email protected]> | 2024-04-04 12:34:30 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2024-04-08 13:22:23 +0000 |
| commit | 83cfe6d8b6b986d430941d22797ca636a6789ba9 (patch) | |
| tree | a79dc6bc4829f82b5d6a1b9788b1bb07e2505739 /drivers/platform/x86/quickstart.c | |
| parent | platform/x86: quickstart: Miscellaneous improvements (diff) | |
| download | kernel-83cfe6d8b6b986d430941d22797ca636a6789ba9.tar.gz kernel-83cfe6d8b6b986d430941d22797ca636a6789ba9.zip | |
platform/x86: quickstart: fix Kconfig selects
The new driver Kconfig entry has a typo that causes a link failure
when CONFIG_INPUT_SPARSEKMAP is disabled:
x86_64-linux-ld: drivers/platform/x86/quickstart.o: in function `quickstart_notify':
quickstart.c:(.text+0x96): undefined reference to `sparse_keymap_report_event'
x86_64-linux-ld: drivers/platform/x86/quickstart.o: in function `quickstart_probe':
quickstart.c:(.text+0x1da): undefined reference to `sparse_keymap_setup'
Select this symbol instead of the incorrect INPUT_SPARSE_KEYMAP.
Fixes: afd66f2a739e ("platform/x86: Add ACPI quickstart button (PNP0C32) driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Armin Wolf <[email protected]>
Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/quickstart.c')
0 files changed, 0 insertions, 0 deletions
