Skip to content

Commit 79bc574

Browse files
heicarsttorvalds
authored andcommitted
pps gpio client: add missing dependency
Add "depends on GENERIC_HARDIRQS" to avoid compile breakage on s390: drivers/built-in.o: In function `pps_gpio_remove': linux-next/drivers/pps/clients/pps-gpio.c:189: undefined reference to `free_irq' Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: James Nuss <jamesnuss@nanometrics.ca> Cc: Rodolfo Giometti <giometti@enneenne.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 1615204 commit 79bc574

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/pps/clients/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ config PPS_CLIENT_PARPORT
3131

3232
config PPS_CLIENT_GPIO
3333
tristate "PPS client using GPIO"
34-
depends on PPS
34+
depends on PPS && GENERIC_HARDIRQS
3535
help
3636
If you say yes here you get support for a PPS source using
3737
GPIO. To be useful you must also register a platform device

0 commit comments

Comments
 (0)