diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-10-01 04:36:47 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-10-01 04:36:47 -0400 |
commit | 749c84966c990092da20203a80e0749b614c79a6 (patch) | |
tree | 372b967a397d636f3cf6937a644d56660ffbfbe2 /arch/sh64/lib/iomap.c | |
parent | 6b3d7f02a180af0d711d259adb4eccde1c3f10cd (diff) |
sh64: Some symbol exports and build fixes.
This fixes up misc build issues that were hit on the non-cayman
boards. Additionally, quite a few symbols needed to be exported
to fix the module build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh64/lib/iomap.c')
-rw-r--r-- | arch/sh64/lib/iomap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sh64/lib/iomap.c b/arch/sh64/lib/iomap.c index 5cd3d5e9c762..253d1e351d49 100644 --- a/arch/sh64/lib/iomap.c +++ b/arch/sh64/lib/iomap.c | |||
@@ -17,12 +17,15 @@ ioport_map(unsigned long port, unsigned int len) | |||
17 | { | 17 | { |
18 | return (void __iomem *)port; | 18 | return (void __iomem *)port; |
19 | } | 19 | } |
20 | EXPORT_SYMBOL(ioport_map); | ||
20 | 21 | ||
21 | void ioport_unmap(void __iomem *addr) | 22 | void ioport_unmap(void __iomem *addr) |
22 | { | 23 | { |
23 | /* Nothing .. */ | 24 | /* Nothing .. */ |
24 | } | 25 | } |
26 | EXPORT_SYMBOL(ioport_unmap); | ||
25 | 27 | ||
28 | #ifdef CONFIG_PCI | ||
26 | void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) | 29 | void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) |
27 | { | 30 | { |
28 | unsigned long start = pci_resource_start(dev, bar); | 31 | unsigned long start = pci_resource_start(dev, bar); |
@@ -41,14 +44,11 @@ void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) | |||
41 | /* What? */ | 44 | /* What? */ |
42 | return NULL; | 45 | return NULL; |
43 | } | 46 | } |
47 | EXPORT_SYMBOL(pci_iomap); | ||
44 | 48 | ||
45 | void pci_iounmap(struct pci_dev *dev, void __iomem *addr) | 49 | void pci_iounmap(struct pci_dev *dev, void __iomem *addr) |
46 | { | 50 | { |
47 | /* Nothing .. */ | 51 | /* Nothing .. */ |
48 | } | 52 | } |
49 | |||
50 | EXPORT_SYMBOL(ioport_map); | ||
51 | EXPORT_SYMBOL(ioport_unmap); | ||
52 | EXPORT_SYMBOL(pci_iomap); | ||
53 | EXPORT_SYMBOL(pci_iounmap); | 53 | EXPORT_SYMBOL(pci_iounmap); |
54 | 54 | #endif | |