From: Heiko Carstens Date: Wed, 2 Nov 2011 20:39:41 +0000 (-0700) Subject: pps gpio client: add missing dependency X-Git-Tag: firefly_0821_release~3680^2~4226^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=79bc57463be2ad5020a53accbf26898e8ac04550;p=firefly-linux-kernel-4.4.55.git 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 Cc: James Nuss Cc: Rodolfo Giometti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/pps/clients/Kconfig b/drivers/pps/clients/Kconfig index c2e0f1e97bcd..445197d4a8c4 100644 --- a/drivers/pps/clients/Kconfig +++ b/drivers/pps/clients/Kconfig @@ -31,7 +31,7 @@ config PPS_CLIENT_PARPORT config PPS_CLIENT_GPIO tristate "PPS client using GPIO" - depends on PPS + depends on PPS && GENERIC_HARDIRQS help If you say yes here you get support for a PPS source using GPIO. To be useful you must also register a platform device