diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-03-21 04:46:02 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-21 23:04:20 -0500 |
commit | 260de22faac4d336ca122ebd0f1e59279d0b1dfd (patch) | |
tree | be1c202f2bba96546ae2430d9433f7bd7d2a4783 /include | |
parent | 57cfb814f698d30894bc28e22125550193ebe549 (diff) |
[PATCH] powerpc: iseries: mf related cleanups
Some cleanups in the iSeries code.
- Make mf_display_progress() check mf_initialized rather than the caller.
- Set mf_initialized in mf_init() rather than in setup.c
- Then move mf_initialized into mf.c, the only place it's used.
- Move the mf related logic from iSeries_progress() to mf_display_progress()
- Use a #define to size the pending_event_prealloc array
- Use that define in the initialsation loop rather than sizeof jiggery pokery
- Remove stupid comment(s)
- Mark stuff static and/or __init
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/iseries/mf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-powerpc/iseries/mf.h b/include/asm-powerpc/iseries/mf.h index 857e5202fc78..335e163daaf3 100644 --- a/include/asm-powerpc/iseries/mf.h +++ b/include/asm-powerpc/iseries/mf.h | |||
@@ -45,7 +45,6 @@ extern void mf_reboot(void); | |||
45 | 45 | ||
46 | extern void mf_display_src(u32 word); | 46 | extern void mf_display_src(u32 word); |
47 | extern void mf_display_progress(u16 value); | 47 | extern void mf_display_progress(u16 value); |
48 | extern void mf_clear_src(void); | ||
49 | 48 | ||
50 | extern void mf_init(void); | 49 | extern void mf_init(void); |
51 | 50 | ||