linux/drivers/input/keyboard
Tobias Klauser 2e58cdcc22 Input: st-keyscan - fix 'defined but not used' compiler warnings
Add #ifdef CONFIG_PM_SLEEP around keyscan_supend() and keyscan_resume() to
fix the following compiler warnings occuring if CONFIG_PM_SLEEP is unset:

  + /scratch/kisskb/src/drivers/input/keyboard/st-keyscan.c: warning: 'keyscan_resume' defined but not used [-Wunused-function]:  => 235:12
  + /scratch/kisskb/src/drivers/input/keyboard/st-keyscan.c: warning: 'keyscan_suspend' defined but not used [-Wunused-function]:  => 218:12

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lkml.org/lkml/2014/7/8/109
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-07-18 10:18:55 -07:00
..
Kconfig Merge branch 'next' into for-linus 2014-06-07 23:24:07 -07:00
Makefile Input: add st-keyscan driver 2014-05-14 16:39:46 -07:00
adp5520-keys.c Input: adp5520-keys - switch to using managed resources 2014-05-28 23:49:10 -07:00
adp5588-keys.c
adp5589-keys.c
amikbd.c
atakbd.c
atkbd.c Input: atkbd - fix keyboard not working on some LG laptops 2014-04-24 23:32:33 -07:00
bf54x-keys.c
clps711x-keypad.c Input: clps711x-keypad - make of_device_id array const 2014-05-14 16:39:52 -07:00
cros_ec_keyb.c
davinci_keyscan.c
ep93xx_keypad.c
goldfish_events.c
gpio_keys.c Input: gpio_keys - more conversions to devm-* API 2014-05-14 16:40:02 -07:00
gpio_keys_polled.c Input: gpio_keys_polled - convert to devm-* API 2014-05-14 16:40:04 -07:00
hil_kbd.c
hilkbd.c
hpps2atkbd.h
imx_keypad.c Input: imx_keypad - make of_device_id array const 2014-05-14 16:39:54 -07:00
jornada680_kbd.c Input: jornada680_kbd - switch top using managed resources 2014-05-28 23:49:11 -07:00
jornada720_kbd.c
lkkbd.c
lm8323.c
lm8333.c
locomokbd.c
lpc32xx-keys.c
maple_keyb.c
matrix_keypad.c
max7359_keypad.c
mcs_touchkey.c Input: mcs_touchkey - fix incorrect input device name 2014-05-28 23:48:02 -07:00
mpr121_touchkey.c
newtonkbd.c
nomadik-ske-keypad.c
nspire-keypad.c
omap-keypad.c
omap4-keypad.c Input: omap-keypad - remove platform data support 2014-05-29 00:33:32 -07:00
opencores-kbd.c
pmic8xxx-keypad.c Input: pmic8xxx-keypad - migrate to DT 2014-03-30 13:25:19 -07:00
pxa27x_keypad.c Input: pxa27x-keypad - fix generating scancode 2014-05-13 23:12:44 -07:00
pxa930_rotary.c
qt1070.c
qt2160.c
samsung-keypad.c
sh_keysc.c
spear-keyboard.c
st-keyscan.c Input: st-keyscan - fix 'defined but not used' compiler warnings 2014-07-18 10:18:55 -07:00
stmpe-keypad.c
stowaway.c
sunkbd.c
tc3589x-keypad.c Input: tc3589x-keypad - support probing from device tree 2014-05-14 16:39:44 -07:00
tca6416-keypad.c
tca8418_keypad.c Input: tca8418 - fix loading this driver as a module from a device tree 2014-04-24 23:53:14 -07:00
tegra-kbc.c
twl4030_keypad.c
w90p910_keypad.c
xtkbd.c