Skip to content

Commit

Permalink
m68k/atari: Move declaration of atari_SCC_reset_done to header file
Browse files Browse the repository at this point in the history
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
  • Loading branch information
Geert Uytterhoeven committed Dec 10, 2011
1 parent 1d9532b commit 125298d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions arch/m68k/atari/ataints.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion arch/m68k/atari/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down
2 changes: 2 additions & 0 deletions arch/m68k/include/asm/atarihw.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 125298d

Please sign in to comment.