m68k/atari: Move declaration of atari_SCC_reset_done to header file
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 13 Nov 2011 09:44:24 +0000 (10:44 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 10 Dec 2011 18:52:49 +0000 (19:52 +0100)
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/atari/ataints.c
arch/m68k/atari/debug.c
arch/m68k/include/asm/atarihw.h

index 6d196dadfdbc3dae5edca91a509527709ea8092c..8048e1b7e5528c9b9e50de5930350a375e6b5770 100644 (file)
@@ -82,8 +82,6 @@ __ALIGN_STR "\n\t"
 
 extern void atari_microwire_cmd(int cmd);
 
-extern int atari_SCC_reset_done;
-
 static unsigned int atari_irq_startup(struct irq_data *data)
 {
        unsigned int irq = data->irq;
index 5a484247e493ebb8b6f9be142cdcdfe0db978c92..a547ba9683d14a551c9d4a18632d3c3a5d7a1bed 100644 (file)
@@ -202,7 +202,6 @@ static void __init atari_init_mfp_port(int cflag)
 
 static void __init atari_init_scc_port(int cflag)
 {
-       extern int atari_SCC_reset_done;
        static int clksrc_table[9] =
                /* reg 11: 0x50 = BRG, 0x00 = RTxC, 0x28 = TRxC */
                { 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x50, 0x00, 0x00 };
index 0392b28656abb306e330fe5d4edcf44a9b5f2a7e..c0cb363507754af5028d284d9cd89f39fffeb699 100644 (file)
@@ -30,6 +30,8 @@ extern u_long atari_switches;
 extern int atari_rtc_year_offset;
 extern int atari_dont_touch_floppy_select;
 
+extern int atari_SCC_reset_done;
+
 /* convenience macros for testing machine type */
 #define MACH_IS_ST     ((atari_mch_cookie >> 16) == ATARI_MCH_ST)
 #define MACH_IS_STE    ((atari_mch_cookie >> 16) == ATARI_MCH_STE && \