[PATCH] mem driver: fix conditional on isa i/o support
authorGeoff Levand <geoffrey.levand@am.sony.com>
Fri, 29 Sep 2006 09:01:23 +0000 (02:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:22 +0000 (09:18 -0700)
commit153dcc54df826d2f8413c026313cba673c6bcc5b
treeed9c7ecd2f9f3d44990a3a501008b3d5804bbf14
parent781b823e093b6ab3fd489f7d56ed869d27a78c1d
[PATCH] mem driver: fix conditional on isa i/o support

This change corrects the logic on the preprocessor conditionals that
include support for ISA port i/o (/dev/ioports) into the mem character
driver.

This fixes the following error when building for powerpc platforms with
CONFIG_PCI=n.

  drivers/built-in.o: undefined reference to `pci_io_base'

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Acked-by: Linas Vepstas <lins@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mem.c