summaryrefslogtreecommitdiffstats
path: root/arch/m68k/mac/via.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven2008-12-21 12:03:37 +0100
committerGeert Uytterhoeven2009-01-12 20:56:34 +0100
commitc85627fbf5f47045b25bf66f1b4a7001b5b157af (patch)
tree9609b53fd6173868dfdd3bf10edbd77c37dae378 /arch/m68k/mac/via.c
parentm68k: amiflop - Get rid of sleep_on calls (diff)
downloadkernel-qcow2-linux-c85627fbf5f47045b25bf66f1b4a7001b5b157af.tar.gz
kernel-qcow2-linux-c85627fbf5f47045b25bf66f1b4a7001b5b157af.tar.xz
kernel-qcow2-linux-c85627fbf5f47045b25bf66f1b4a7001b5b157af.zip
m68k: Kill several external declarations in source files
- Replace external declarations by proper includes where availiable. The accesses to some symbols had to be modified, as before they were declared using e.g. "extern int _end", while asm-generic/sections.h uses e.g. "extern char _end[]" - Remove unused or superfluous external declarations Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/mac/via.c')
-rw-r--r--arch/m68k/mac/via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/mac/via.c b/arch/m68k/mac/via.c
index f01d418e64fe..dfffb9c483a2 100644
--- a/arch/m68k/mac/via.c
+++ b/arch/m68k/mac/via.c
@@ -34,6 +34,7 @@
#include <asm/macints.h>
#include <asm/mac_via.h>
#include <asm/mac_psc.h>
+#include <asm/mac_oss.h>
volatile __u8 *via1, *via2;
int rbv_present;
@@ -84,7 +85,6 @@ void via_irq_disable(int irq);
void via_irq_clear(int irq);
extern irqreturn_t mac_scc_dispatch(int, void *);
-extern int oss_present;
/*
* Initialize the VIAs