diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-06-17 18:30:40 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:10:27 -0400 |
commit | 7223ce29e8ca7313a75e8b902718c867d5997bb7 (patch) | |
tree | d49cb103b6f701b568997f8c5bd9d4420b7b8dad /arch/sh/drivers | |
parent | b19a33cabafbac56ba581e2a77ea6476db9118ab (diff) |
sh dreamcast: export board_pci_channels
This patch fixes the following build error:
<-- snip -->
...
MODPOST 1837 modules
ERROR: "board_pci_channels" [drivers/pcmcia/yenta_socket.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
I freely admit that it's a pathological configuration, but as long as
it is allowed it should build.
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers')
-rw-r--r-- | arch/sh/drivers/pci/ops-dreamcast.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/ops-dreamcast.c b/arch/sh/drivers/pci/ops-dreamcast.c index e1284fc69361..f54c291db37b 100644 --- a/arch/sh/drivers/pci/ops-dreamcast.c +++ b/arch/sh/drivers/pci/ops-dreamcast.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/irq.h> | 23 | #include <linux/irq.h> |
24 | #include <linux/pci.h> | 24 | #include <linux/pci.h> |
25 | #include <linux/module.h> | ||
25 | 26 | ||
26 | #include <asm/io.h> | 27 | #include <asm/io.h> |
27 | #include <asm/irq.h> | 28 | #include <asm/irq.h> |
@@ -48,6 +49,7 @@ struct pci_channel board_pci_channels[] = { | |||
48 | &gapspci_mem_resource, 0, 1 }, | 49 | &gapspci_mem_resource, 0, 1 }, |
49 | { 0, } | 50 | { 0, } |
50 | }; | 51 | }; |
52 | EXPORT_SYMBOL(board_pci_channels); | ||
51 | 53 | ||
52 | /* | 54 | /* |
53 | * The !gapspci_config_access case really shouldn't happen, ever, unless | 55 | * The !gapspci_config_access case really shouldn't happen, ever, unless |