linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: arnd@arndb.de, axboe@kernel.dk, cbou@mail.ru,
	davem@davemloft.net, dtor@mail.ru, dwmw2@infradead.org,
	grant.likely@secretlab.ca, gregkh@linuxfoundation.org,
	jkosina@suse.cz, jslaby@suse.cz, khali@linux-fr.org,
	mchehab@redhat.com, perex@perex.cz, sameo@linux.intel.com,
	tiwai@suse.de, w.sang@pengutronix.de
Cc: linux-kernel@vger.kernel.org, sebott@linux.vnet.ibm.com,
	gerald.schaefer@de.ibm.com, schwidefsky@de.ibm.com,
	Heiko Carstens <heiko.carstens@de.ibm.com>
Subject: [PATCH 01/15] drivers/input: add couple of missing GENERIC_HARDIRQS dependencies
Date: Wed,  6 Feb 2013 17:23:49 +0100	[thread overview]
Message-ID: <1360167843-3587-2-git-send-email-heiko.carstens@de.ibm.com> (raw)
In-Reply-To: <1360167843-3587-1-git-send-email-heiko.carstens@de.ibm.com>

When removing the !S390 dependency from drivers/input/Kconfig a couple
of drivers don't compile because they have a dependency on GENERIC_HARDIRQS.
So add the missing dependencies.
Fixes e.g. this one:

drivers/input/keyboard/lm8323.c: In function ‘lm8323_suspend’:
drivers/input/keyboard/lm8323.c:801:2: error: implicit declaration of function ‘irq_set_irq_wake’
	[-Werror=implicit-function-declaration]

Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
 drivers/input/Kconfig             |    2 +-
 drivers/input/keyboard/Kconfig    |    4 ++--
 drivers/input/serio/Kconfig       |    1 +
 drivers/input/touchscreen/Kconfig |    2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 55f7e57..38b523a 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -3,7 +3,7 @@
 #
 
 menu "Input device support"
-	depends on !S390 && !UML
+	depends on !UML
 
 config INPUT
 	tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 502ed23..6a65da2 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -226,7 +226,7 @@ config KEYBOARD_TCA6416
 
 config KEYBOARD_TCA8418
 	tristate "TCA8418 Keypad Support"
-	depends on I2C
+	depends on I2C && GENERIC_HARDIRQS
 	select INPUT_MATRIXKMAP
 	help
 	  This driver implements basic keypad functionality
@@ -305,7 +305,7 @@ config KEYBOARD_HP7XX
 
 config KEYBOARD_LM8323
 	tristate "LM8323 keypad chip"
-	depends on I2C
+	depends on I2C && GENERIC_HARDIRQS
 	depends on LEDS_CLASS
 	help
 	  If you say yes here you get support for the National Semiconductor
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
index 81ee755..d2138bf 100644
--- a/drivers/input/serio/Kconfig
+++ b/drivers/input/serio/Kconfig
@@ -237,6 +237,7 @@ config SERIO_PS2MULT
 
 config SERIO_ARC_PS2
 	tristate "ARC PS/2 support"
+	depends on GENERIC_HARDIRQS
 	help
 	  Say Y here if you have an ARC FPGA platform with a PS/2
 	  controller in it.
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 3d6f548..59877b7 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -368,7 +368,7 @@ config TOUCHSCREEN_MCS5000
 
 config TOUCHSCREEN_MMS114
 	tristate "MELFAS MMS114 touchscreen"
-	depends on I2C
+	depends on I2C && GENERIC_HARDIRQS
 	help
 	  Say Y here if you have the MELFAS MMS114 touchscreen controller
 	  chip in your system.
-- 
1.7.10.4


  reply	other threads:[~2013-02-06 16:27 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-06 16:23 [PATCH 00/15] Add various missing GENERIC_HARDIRQS dependencies Heiko Carstens
2013-02-06 16:23 ` Heiko Carstens [this message]
2013-02-14  4:22   ` [PATCH 01/15] drivers/input: add couple of " Dmitry Torokhov
2013-02-06 16:23 ` [PATCH 02/15] drivers/i2c: remove !S390 dependency, add " Heiko Carstens
2013-02-06 16:23 ` [PATCH 03/15] drivers/mfd: add missing GENERIC_HARDIRQS dependecies Heiko Carstens
2013-02-07  7:39   ` Samuel Ortiz
2013-02-06 16:23 ` [PATCH 04/15] drivers/block/mtip32xx: add missing GENERIC_HARDIRQS dependency Heiko Carstens
2013-02-07  6:35   ` Jens Axboe
2013-02-06 16:23 ` [PATCH 05/15] drivers/dma/dw_dmac: " Heiko Carstens
2013-02-06 16:23 ` [PATCH 06/15] drivers/gpio: add missing GENERIC_HARDIRQ dependency Heiko Carstens
2013-02-06 16:23 ` [PATCH 07/15] drivers/hid: " Heiko Carstens
2013-02-07 10:37   ` Jiri Kosina
2013-02-06 16:23 ` [PATCH 08/15] drivers/misc/cb710: add missing GENERIC_HARDIRQS dependency Heiko Carstens
2013-02-08 20:23   ` Greg KH
2013-02-08 20:23     ` Greg KH
2013-02-06 16:23 ` [PATCH 09/15] drivers/media: add missing GENERIC_HARDIRQS dependencies Heiko Carstens
2013-02-07 14:01   ` Mauro Carvalho Chehab
2013-02-06 16:23 ` [PATCH 10/15] drivers/net,AT91RM9200: add missing GENERIC_HARDIRQS dependency Heiko Carstens
2013-02-06 21:12   ` David Miller
2013-02-06 16:23 ` [PATCH 11/15] drivers/spi: add missing GENERIC_HARDIRQS dependencies Heiko Carstens
2013-02-06 16:24 ` [PATCH 12/15] sound: add missing HAS_IOPORT and " Heiko Carstens
2013-02-06 17:05   ` Takashi Iwai
2013-02-07  1:13     ` Arnd Bergmann
2013-02-06 17:26       ` Takashi Iwai
2013-02-06 18:12         ` Heiko Carstens
2013-02-06 21:56           ` Arnd Bergmann
2013-02-07 13:32             ` Heiko Carstens
2013-02-07 13:36               ` Arnd Bergmann
2013-02-07 13:39               ` Takashi Iwai
2013-02-13 21:34             ` Dmitry Torokhov
2013-02-06 16:24 ` [PATCH 13/15] drivers/usb: add missing " Heiko Carstens
2013-02-06 16:24 ` [PATCH 14/15] drivers/power,goldfisch battery: add missing GENERIC_HARDIRQS dependency Heiko Carstens
2013-02-16 21:24   ` Anton Vorontsov
2013-02-06 16:24 ` [PATCH 15/15] drivers/serial: add " Heiko Carstens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1360167843-3587-2-git-send-email-heiko.carstens@de.ibm.com \
    --to=heiko.carstens@de.ibm.com \
    --cc=arnd@arndb.de \
    --cc=axboe@kernel.dk \
    --cc=cbou@mail.ru \
    --cc=davem@davemloft.net \
    --cc=dtor@mail.ru \
    --cc=dwmw2@infradead.org \
    --cc=gerald.schaefer@de.ibm.com \
    --cc=grant.likely@secretlab.ca \
    --cc=gregkh@linuxfoundation.org \
    --cc=jkosina@suse.cz \
    --cc=jslaby@suse.cz \
    --cc=khali@linux-fr.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=perex@perex.cz \
    --cc=sameo@linux.intel.com \
    --cc=schwidefsky@de.ibm.com \
    --cc=sebott@linux.vnet.ibm.com \
    --cc=tiwai@suse.de \
    --cc=w.sang@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).