path: root/Makefile
diff options
authorMarkos Chandras <>2013-06-17 08:09:00 +0000
committerGreg Kroah-Hartman <>2013-08-14 22:59:10 -0700
commit5954bd0f29212194f0beb6dab03f9c26a482c560 (patch)
treedd94debeecd9c6310b154b350ef700777dc4c364 /Makefile
parentddb2a2d9e0b2c87696d1a81b57edf545e201c143 (diff)
MIPS: Expose missing pci_io{map,unmap} declarations
commit 78857614104a26cdada4c53eea104752042bf5a1 upstream. The GENERIC_PCI_IOMAP does not depend on CONFIG_PCI so move it to the CONFIG_MIPS symbol so it's always selected for MIPS. This fixes the missing pci_iomap declaration for MIPS. Moreover, the pci_iounmap function was not defined in the io.h header file if the CONFIG_PCI symbol is not set, but it should since MIPS is not using CONFIG_GENERIC_IOMAP. This fixes the following problem on a allyesconfig: drivers/net/ethernet/3com/3c59x.c:1031:2: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration] drivers/net/ethernet/3com/3c59x.c:1044:3: error: implicit declaration of function 'pci_iounmap' [-Werror=implicit-function-declaration] Signed-off-by: Markos Chandras <> Acked-by: Steven J. Hill <> Patchwork: Signed-off-by: Ralf Baechle <> Cc: Guenter Roeck <> Signed-off-by: Greg Kroah-Hartman <>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions