Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7223ce29 authored by Adrian Bunk's avatar Adrian Bunk Committed by Paul Mundt
Browse files

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent b19a33ca
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -22,6 +22,7 @@
#include <linux/init.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/irq.h>
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/module.h>


#include <asm/io.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq.h>
@@ -48,6 +49,7 @@ struct pci_channel board_pci_channels[] = {
	  &gapspci_mem_resource, 0, 1 },
	  &gapspci_mem_resource, 0, 1 },
	{ 0, }
	{ 0, }
};
};
EXPORT_SYMBOL(board_pci_channels);


/*
/*
 * The !gapspci_config_access case really shouldn't happen, ever, unless
 * The !gapspci_config_access case really shouldn't happen, ever, unless