[PATCH] mxser_new: fix non-PCI build
authorJiri Slaby <jirislaby@gmail.com>
Wed, 13 Dec 2006 08:34:19 +0000 (00:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:49 +0000 (09:05 -0800)
commitfb0c9295b81f5c7f51058aabfadd13d8e70b48f4
tree0da52641ef141ca361a4ad0cea19831b1c6f7cb0
parenta3808ac156f503dd2a00a059d9ff4677ce75244f
[PATCH] mxser_new: fix non-PCI build

When CONFIG_PCI is not defined (i.e.  PCI bus is disabled), the mxser_new
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/mxser_new.c