android_kernel_xiaomi_sdm845/drivers/input
David Brownell 0a938b9768 [PATCH] add CONFIG_GENERIC_GPIO
Most drivers using GPIOs already know they are running on a system that
supports the generic GPIO calls, because of other platform dependencies.
But the generic GPIO-based LED and input button drivers can't know that.

So this patch adds a Kconfig hook, GENERIC_GPIO, to mark the platforms
where <asm/gpio.h> will do the right thing.  Currently that's a bunch of
ARMs, and AVR32; more are on the way.

It also fixes a dependency bug for the gpio button input driver; it was
wrong to start with, now it covers all platforms with GENERIC_GPIO.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
Cc: <raph@8d.com>
Cc: <msvoboda@ra.rockwell.com>
Cc: pHilipp Zabel <philipp.zabel@gmail.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-05 07:57:51 -08:00
..
gameport [PATCH] Remove unnecessary memset(0) calls after kzalloc() calls. 2007-02-11 10:51:31 -08:00
joystick Input: remove obsolete setup parameters from input drivers 2007-02-18 01:44:58 -05:00
keyboard [PATCH] add CONFIG_GENERIC_GPIO 2007-03-05 07:57:51 -08:00
misc [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
mouse Input: remove obsolete setup parameters from input drivers 2007-02-18 01:44:58 -05:00
serio Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input 2007-02-19 13:31:34 -08:00
touchscreen [PATCH] hrtimers: namespace and enum cleanup 2007-02-16 08:13:58 -08:00
evbug.c Input: make input_register_handler() return error codes 2006-09-14 01:32:39 -04:00
evdev.c Input: make input_register_handler() return error codes 2006-09-14 01:32:39 -04:00
ff-core.c Input: add to kernel-api docbook 2006-11-24 00:43:09 -05:00
ff-memless.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
fixp-arith.h Input: move fixp-arith.h to drivers/input 2006-07-19 01:40:14 -04:00
input.c Input: do not lock device when showing name, phys and uniq 2007-02-18 01:40:37 -05:00
joydev.c Input: make input_register_handler() return error codes 2006-09-14 01:32:39 -04:00
Kconfig Input: unified force feedback support for memoryless devices 2006-07-19 01:40:30 -04:00
Makefile [PATCH] Generic HID layer - build 2006-12-08 10:43:20 -08:00
mousedev.c Input: mousedev - remap BTN_FORWARD from BTN_LEFT to BTN_MIDDLE 2006-11-17 01:06:54 -05:00
power.c Input: make input_register_handler() return error codes 2006-09-14 01:32:39 -04:00
tsdev.c Input: tsdev - schedule removal 2007-02-10 01:29:11 -05:00