]> err.no Git - linux-2.6/commit
[PATCH] sx: fix non-PCI build
authorJiri Slaby <jirislaby@gmail.com>
Wed, 13 Dec 2006 08:34:20 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:49 +0000 (09:05 -0800)
commit3468a33e98524a7661a158251b10cea7c9fafece
tree4ba528780a725ef10285ce274c692402afa896f1
parentfb0c9295b81f5c7f51058aabfadd13d8e70b48f4
[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>
drivers/char/Kconfig
drivers/char/sx.c