Skip to content

Commit

Permalink
Input: tsc2005 - driver should depend on GENERIC_HARDIRQS
Browse files Browse the repository at this point in the history
drivers/input/touchscreen/tsc2005.c: In function ‘tsc2005_probe’:
drivers/input/touchscreen/tsc2005.c:666: error: implicit declaration of function ‘set_irq_wake’

In addition, migrate from set_irq_wake() (marked "do not use" as of commit
a0cd9ca ("genirq: Namespace cleanup")) to
irq_set_irq_wake().

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Geert Uytterhoeven authored and Dmitry Torokhov committed Mar 24, 2011
1 parent 97eb3f2 commit ddca6a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ config TOUCHSCREEN_TOUCHIT213

config TOUCHSCREEN_TSC2005
tristate "TSC2005 based touchscreens"
depends on SPI_MASTER
depends on SPI_MASTER && GENERIC_HARDIRQS
help
Say Y here if you have a TSC2005 based touchscreen.

Expand Down
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/tsc2005.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ static int __devinit tsc2005_probe(struct spi_device *spi)
goto err_remove_sysfs;
}

set_irq_wake(spi->irq, 1);
irq_set_irq_wake(spi->irq, 1);
return 0;

err_remove_sysfs:
Expand Down

0 comments on commit ddca6a3

Please sign in to comment.