Commit 9b714116 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] m68k: Atari name clashes

From: Geert Uytterhoeven <geert@linux-m68k.org>

Atari Falcon: Prepend falcon_ to some Atari Falcon definitions to solve name
clashes in some drivers.
parent 79db2b5f
......@@ -344,7 +344,7 @@ void __init config_atari(void)
ATARIHW_SET(PCM_8BIT);
printk( "PCM " );
}
if (!MACH_IS_HADES && hwreg_present( &codec.unused5 )) {
if (!MACH_IS_HADES && hwreg_present( &falcon_codec.unused5 )) {
ATARIHW_SET(CODEC);
printk( "CODEC " );
}
......
......@@ -376,7 +376,7 @@ struct MATRIX
u_char external_frequency_divider;
u_char internal_frequency_divider;
};
#define matrix (*(volatile struct MATRIX *)MATRIX_BASE)
#define falcon_matrix (*(volatile struct MATRIX *)MATRIX_BASE)
#define CODEC_BASE (0xffff8936)
struct CODEC
......@@ -405,7 +405,7 @@ struct CODEC
u_char unused6;
u_char gpio_data;
};
#define codec (*(volatile struct CODEC *)CODEC_BASE)
#define falcon_codec (*(volatile struct CODEC *)CODEC_BASE)
/*
** Falcon Blitter
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment