summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-generic/es7000.c
diff options
context:
space:
mode:
authorJaswinder Singh Rajput2009-01-04 17:52:56 +0100
committerIngo Molnar2009-01-05 14:08:34 +0100
commit6c65da50bd4589b6b627d4842b8e6705a0ccaab5 (patch)
treedcbed07153dd111b6a7f59b0ff590c37d504d701 /arch/x86/mach-generic/es7000.c
parentx86: rename all fields of mpc_oemtable oem_X to X (diff)
downloadkernel-qcow2-linux-6c65da50bd4589b6b627d4842b8e6705a0ccaab5.tar.gz
kernel-qcow2-linux-6c65da50bd4589b6b627d4842b8e6705a0ccaab5.tar.xz
kernel-qcow2-linux-6c65da50bd4589b6b627d4842b8e6705a0ccaab5.zip
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 39243a796e18..c2ded1448024 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);
}