summaryrefslogtreecommitdiffstats
path: root/arch/m68k/atari/atakeyb.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2009-02-22 09:38:47 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-22 09:23:02 -0800
commit3d92e8f3ae9ba21cac30370eb254ed9dc20df043 (patch)
treea0d7ebe8ed8d0aed414b235b7e7055d94f0e7459 /arch/m68k/atari/atakeyb.c
parentadfafefd104d840ee4461965f22624d77532675b (diff)
downloadblackbird-obmc-linux-3d92e8f3ae9ba21cac30370eb254ed9dc20df043.tar.gz
blackbird-obmc-linux-3d92e8f3ae9ba21cac30370eb254ed9dc20df043.zip
m68k: atari - Rename "mfp" to "st_mfp"
http://kisskb.ellerman.id.au/kisskb/buildresult/72115/: | net/mac80211/ieee80211_i.h:327: error: syntax error before 'volatile' | net/mac80211/ieee80211_i.h:350: error: syntax error before '}' token | net/mac80211/ieee80211_i.h:455: error: field 'sta' has incomplete type | distcc[19430] ERROR: compile net/mac80211/main.c on sprygo/32 failed This is caused by | # define mfp ((*(volatile struct MFP*)MFP_BAS)) in arch/m68k/include/asm/atarihw.h, which conflicts with the new "mfp" enum in net/mac80211/ieee80211_i.h. Rename "mfp" to "st_mfp", as it's a way too generic name for a global #define. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/atari/atakeyb.c')
-rw-r--r--arch/m68k/atari/atakeyb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/atari/atakeyb.c b/arch/m68k/atari/atakeyb.c
index a5f33c059979..4add96d13b19 100644
--- a/arch/m68k/atari/atakeyb.c
+++ b/arch/m68k/atari/atakeyb.c
@@ -609,10 +609,10 @@ int atari_keyb_init(void)
ACIA_RHTID : 0);
/* make sure the interrupt line is up */
- } while ((mfp.par_dt_reg & 0x10) == 0);
+ } while ((st_mfp.par_dt_reg & 0x10) == 0);
/* enable ACIA Interrupts */
- mfp.active_edge &= ~0x10;
+ st_mfp.active_edge &= ~0x10;
atari_turnon_irq(IRQ_MFP_ACIA);
ikbd_self_test = 1;
OpenPOWER on IntegriCloud