diff options
Diffstat (limited to 'arch/sh/boards')
-rw-r--r-- | arch/sh/boards/mach-titan/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-titan/io.c b/arch/sh/boards/mach-titan/io.c index 4badad4c6f30..053b3ed2ed8d 100644 --- a/arch/sh/boards/mach-titan/io.c +++ b/arch/sh/boards/mach-titan/io.c | |||
@@ -117,7 +117,7 @@ void titan_outsl(unsigned long port, const void *src, unsigned long count) | |||
117 | 117 | ||
118 | void __iomem *titan_ioport_map(unsigned long port, unsigned int size) | 118 | void __iomem *titan_ioport_map(unsigned long port, unsigned int size) |
119 | { | 119 | { |
120 | if (PXSEG(port) || is_pci_memaddr(port)) | 120 | if (PXSEG(port)) |
121 | return (void __iomem *)port; | 121 | return (void __iomem *)port; |
122 | else if (is_pci_ioaddr(port)) | 122 | else if (is_pci_ioaddr(port)) |
123 | return (void __iomem *)pci_ioaddr(port); | 123 | return (void __iomem *)pci_ioaddr(port); |