diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-10-01 17:36:47 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-10-01 17:36:47 +0900 |
commit | 749c84966c990092da20203a80e0749b614c79a6 (patch) | |
tree | 372b967a397d636f3cf6937a644d56660ffbfbe2 /arch/sh64/kernel/pci-dma.c | |
parent | 6b3d7f02a180af0d711d259adb4eccde1c3f10cd (diff) | |
download | talos-op-linux-749c84966c990092da20203a80e0749b614c79a6.tar.gz talos-op-linux-749c84966c990092da20203a80e0749b614c79a6.zip |
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/kernel/pci-dma.c')
-rw-r--r-- | arch/sh64/kernel/pci-dma.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh64/kernel/pci-dma.c b/arch/sh64/kernel/pci-dma.c index a9328f894755..8875a2a40da7 100644 --- a/arch/sh64/kernel/pci-dma.c +++ b/arch/sh64/kernel/pci-dma.c @@ -11,6 +11,7 @@ #include <linux/mm.h> #include <linux/string.h> #include <linux/pci.h> +#include <linux/module.h> #include <asm/io.h> void *consistent_alloc(struct pci_dev *hwdev, size_t size, @@ -36,6 +37,7 @@ void *consistent_alloc(struct pci_dev *hwdev, size_t size, return vp; } +EXPORT_SYMBOL(consistent_alloc); void consistent_free(struct pci_dev *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle) @@ -47,4 +49,4 @@ void consistent_free(struct pci_dev *hwdev, size_t size, iounmap(vaddr); } - +EXPORT_SYMBOL(consistent_free); |