diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2006-12-13 03:34:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 12:05:49 -0500 |
commit | 3468a33e98524a7661a158251b10cea7c9fafece (patch) | |
tree | 4ba528780a725ef10285ce274c692402afa896f1 /drivers/char/Kconfig | |
parent | fb0c9295b81f5c7f51058aabfadd13d8e70b48f4 (diff) |
[PATCH] sx: fix non-PCI build
When CONFIG_PCI is not defined (i.e. PCI bus is disabled), the sx driver
fails to link, since some pci functions are not available. Fix this
behaviour to be able to compile this driver on machines with no PCI bus
(but with ISA bus support).
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r-- | drivers/char/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index b1c07ed3cb93..087619986688 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -312,7 +312,7 @@ config SPECIALIX_RTSCTS | |||
312 | 312 | ||
313 | config SX | 313 | config SX |
314 | tristate "Specialix SX (and SI) card support" | 314 | tristate "Specialix SX (and SI) card support" |
315 | depends on SERIAL_NONSTANDARD | 315 | depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA) |
316 | help | 316 | help |
317 | This is a driver for the SX and SI multiport serial cards. | 317 | This is a driver for the SX and SI multiport serial cards. |
318 | Please read the file <file:Documentation/sx.txt> for details. | 318 | Please read the file <file:Documentation/sx.txt> for details. |