Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1317336
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/3] tty: cyclades: cyz_interrupt is only used for PCI |
| Date | 2016-01-25 23:00 +0100 |
| Message-ID | <qUXl2-1LE-35@gated-at.bofh.it> (permalink) |
| References | <qUXl1-1LE-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
When CONFIG_PCI is not set, enabling CONFIG_CYZ_INTR has no practical effect other than generating a warning about an unused function: drivers/tty/cyclades.c:1184:20: warning: 'cyz_interrupt' defined but not used [-Wunused-function] static irqreturn_t cyz_interrupt(int irq, void *dev_id) This adds a dependency to avoid that warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/tty/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index c01f45095877..82c4d2e45319 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig @@ -226,7 +226,7 @@ config CYCLADES config CYZ_INTR bool "Cyclades-Z interrupt mode operation" - depends on CYCLADES + depends on CYCLADES && PCI help The Cyclades-Z family of multiport cards allows 2 (two) driver op modes: polling and interrupt. In polling mode, the driver will check -- 2.7.0
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/3] tty: nozomi: avoid a harmless gcc warning Arnd Bergmann <arnd@arndb.de> - 2016-01-25 23:00 +0100
[PATCH 3/3] tty: hvc_xen: hide xen_console_remove when unused Arnd Bergmann <arnd@arndb.de> - 2016-01-25 23:00 +0100
Re: [PATCH 3/3] tty: hvc_xen: hide xen_console_remove when unused Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-01-26 00:10 +0100
Re: [PATCH 3/3] tty: hvc_xen: hide xen_console_remove when unused Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2016-01-26 13:30 +0100
[PATCH 2/3] tty: cyclades: cyz_interrupt is only used for PCI Arnd Bergmann <arnd@arndb.de> - 2016-01-25 23:00 +0100
csiph-web