aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/mach-generic/es7000.c
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@infradead.org>2009-01-04 22:22:56 +0530
committerIngo Molnar <mingo@elte.hu>2009-01-05 14:08:34 +0100
commit6c65da50bd4589b6b627d4842b8e6705a0ccaab5 (patch)
treedcbed07153dd111b6a7f59b0ff590c37d504d701 /arch/x86/mach-generic/es7000.c
parenta1d0272a4676460787bcd7352414e0286763968d (diff)
x86: rename all fields of mpc_table mpc_X to X
Impact: cleanup, solve 80 columns wrap problems It would be cleaner to rename all the mpc->mpc_X fields to mpc->X - that alone would give 4 characters per usage site. (we already know that it's an 'mpc' entity - no need to duplicate that in the field too) Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic/es7000.c')
-rw-r--r--arch/x86/mach-generic/es7000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c
index 39243a796e1..c2ded144802 100644
--- a/arch/x86/mach-generic/es7000.c
+++ b/arch/x86/mach-generic/es7000.c
@@ -46,9 +46,9 @@ static void __init enable_apic_mode(void)
static __init int
mps_oem_check(struct mpc_table *mpc, char *oem, char *productid)
{
- if (mpc->mpc_oemptr) {
+ if (mpc->oemptr) {
struct mpc_oemtable *oem_table =
- (struct mpc_oemtable *)mpc->mpc_oemptr;
+ (struct mpc_oemtable *)mpc->oemptr;
if (!strncmp(oem, "UNISYS", 6))
return parse_unisys_oem((char *)oem_table);
}