2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/arch/arm/mach-exynos
Arnd Bergmann 8a6f71ccb6 ARM: exynos: don't select keyboard driver
The samsung-keypad driver is implicitly selected by ARCH_EXYNOS4 (why?),
but this fails if CONFIG_INPUT is a loadable module:

drivers/input/built-in.o: In function `samsung_keypad_remove':
drivers/input/keyboard/samsung-keypad.c:461: undefined reference to `input_unregister_device'
drivers/input/built-in.o: In function `samsung_keypad_irq':
drivers/input/keyboard/samsung-keypad.c:137: undefined reference to `input_event'
drivers/input/built-in.o: In function `samsung_keypad_irq':
include/linux/input.h:389: undefined reference to `input_event'
drivers/input/built-in.o: In function `samsung_keypad_probe':
drivers/input/keyboard/samsung-keypad.c:358: undefined reference to `devm_input_allocate_device'
drivers/input/built-in.o:(.debug_addr+0x34): undefined reference to `input_set_capability'

This removes the 'select' as suggested by Krzysztof Kozlowski and
instead enables the driver from the defconfig files.

The problem does not happen on mainline kernels, as we don't normally
build built-in input drivers when CONFIG_INPUT=m, but I am experimenting
with a patch to change this, and the samsung keypad driver showed up
as one example that was silently broken before.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.org/lkml/2016/2/14/55
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
2016-05-18 16:58:10 +02:00
..
include/mach ARM: SAMSUNG: Remove unused register offset definition 2016-02-25 13:24:27 +09:00
common.h ARM: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +09:00
exynos-smc.S ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00
exynos.c ARM: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +09:00
firmware.c ARM: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +09:00
headsmp.S ARM: EXYNOS: Remove file path from comment section 2014-07-15 08:40:32 +09:00
Kconfig ARM: exynos: don't select keyboard driver 2016-05-18 16:58:10 +02:00
Makefile drivers: soc: Add support for Exynos PMU driver 2016-02-25 10:18:07 +09:00
mcpm-exynos.c ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung" 2016-02-25 10:13:36 +09:00
mfc.h ARM: SAMSUNG: Reorganize calls to reserve memory for MFC 2014-03-21 02:00:09 +09:00
platsmp.c ARM: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +09:00
pm_domains.c ARM: EXYNOS: Properly skip unitialized parent clock in power domain on 2016-04-25 11:35:37 +02:00
pm.c ARM: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +09:00
regs-srom.h ARM: SAMSUNG: local regs-srom header in mach-exynos 2015-07-30 02:00:35 +09:00
s5p-dev-mfc.c ARM: EXYNOS: Cleanup header files inclusion 2016-02-25 13:24:06 +09:00
sleep.S ARM: 8325/1: exynos: move resume code to .text section 2015-03-29 23:11:57 +01:00
smc.h ARM: EXYNOS: add AFTR mode support for Exynos3250 2015-03-27 02:35:48 +09:00
suspend.c ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung" 2016-02-25 10:13:36 +09:00