X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fm68k%2Fmac%2Fvia.c;h=f3b27d04a31fe2d5a2c52e292b49e5031fe125cf;hb=14b395e35d1afdd8019d11b92e28041fad591b71;hp=d5cac72eb3db1d25b41ef780372a69a36742c925;hpb=972d45fb43f0f0793fa275c4a22998106760cd61;p=pandora-kernel.git diff --git a/arch/m68k/mac/via.c b/arch/m68k/mac/via.c index d5cac72eb3db..f3b27d04a31f 100644 --- a/arch/m68k/mac/via.c +++ b/arch/m68k/mac/via.c @@ -1,7 +1,7 @@ /* * 6522 Versatile Interface Adapter (VIA) * - * There are two of these on the Mac II. Some IRQ's are vectored + * There are two of these on the Mac II. Some IRQs are vectored * via them as are assorted bits and bobs - eg RTC, ADB. * * CSA: Motorola seems to have removed documentation on the 6522 from @@ -28,6 +28,7 @@ #include #include #include +#include #include #include @@ -41,8 +42,10 @@ volatile __u8 *via1, *via2; /* See note in mac_via.h about how this is possibly not useful */ volatile long *via_memory_bogon=(long *)&via_memory_bogon; #endif -int rbv_present, via_alt_mapping; -__u8 rbv_clear; +int rbv_present; +int via_alt_mapping; +EXPORT_SYMBOL(via_alt_mapping); +static __u8 rbv_clear; /* * Globals for accessing the VIA chip registers without having to