diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-13 12:50:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-13 12:50:26 -0400 |
commit | ecaedfa385a6df297e17d6e9f296cc63f12c053f (patch) | |
tree | 236a4484cdb04f73f8f365ae46a1741eb0d9ce54 /arch/sh64/lib/iomap.c | |
parent | dcf397f037f52add9945eced57ca300ab6a4413c (diff) | |
parent | cb0f3fe08d4718cfe6cf7b50d0fb2732e5e5459d (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh64-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh64-2.6:
sh64: mach-cayman: Build fixes.
sh64: Symbol export fixups.
sh64: linker script tidying and alignment fixups.
sh64: Set KBUILD_IMAGE to make the rpm target happy.
sh64: Kill off obsolete linux/blk.h reference.
sh64: cleanup struct irqaction initializers.
sh64: Kill off dead gdb stub symbol.
sh64: alphanumeric display only on Cayman.
sh64: Add defconfigs for mach-sim and mach-harp.
sh64: update cayman defconfig.
sh64: Tidy up Kconfig dependencies.
sh64: Move consistent DMA routines to arch/sh64/mm/.
sh64: Some symbol exports and build fixes.
sh64: mach-sim: Build fixes.
sh64: mach-harp: Build fixes.
sh64: Kill off duplicate frame pointer option.
sh64: Kill off dead ROM-RAM and generic boards.
sh64: Tidy up includes for Cayman board.
sh64: Move *_p() I/O routine variants to io.h.
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 | |