Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: spitz: include header defining input event codes

The board file for Sharp SL-Cxx00 Series of PDAs uses various KEY_*
defines, but does not include the relevant header directly and instead
relies on other headers to include it indirectly. With the upcoming
cleanup of matrix_keypad.h this indirection is now broken and we should
include the relevant header directly.

Reported: Guenter Roeck <linux@roeck-us.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/Y/U+3PZsbLw++SnG@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+1
+1
arch/arm/mach-pxa/spitz.c
··· 25 25 #include <linux/spi/pxa2xx_spi.h> 26 26 #include <linux/mtd/sharpsl.h> 27 27 #include <linux/mtd/physmap.h> 28 + #include <linux/input-event-codes.h> 28 29 #include <linux/input/matrix_keypad.h> 29 30 #include <linux/regulator/machine.h> 30 31 #include <linux/io.h>