[PATCH 1/3] Char: From: Randy Dunlap <randy.dunlap@oracle.com>

From: Jiri Slaby
Date: Tue Dec 12 2006 - 13:55:23 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

isicom, fix build with PCI disabled

With CONFIG_PCI=n:
drivers/char/isicom.c: In function 'isicom_probe':
drivers/char/isicom.c:1793: warning: implicit declaration of function
'pci_request_region'
drivers/char/isicom.c:1827: warning: implicit declaration of function
'pci_release_region'

Let's CONFIG_ISI depend on CONFIG_PCI.

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>

---
commit 1d9d86f80880cefeca436667a7824c9fe81ec6df
tree 33fb9396b07f853e05524014e6eef9ce287deb04
parent 722249cc1bbaf63d12237b16f0066df1436eb591
author Jiri Slaby <jirislaby@xxxxxxxxx> Tue, 12 Dec 2006 18:52:42 +0100
committer Jiri Slaby <jirislaby@xxxxxxxxx> Tue, 12 Dec 2006 18:52:42 +0100

drivers/char/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index a84e37f..d9095ff 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -218,7 +218,7 @@ config MOXA_SMARTIO_NEW

config ISI
tristate "Multi-Tech multiport card support (EXPERIMENTAL)"
- depends on SERIAL_NONSTANDARD
+ depends on SERIAL_NONSTANDARD && PCI
select FW_LOADER
help
This is a driver for the Multi-Tech cards which provide several
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/