]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
[POWERPC] maple: Use platform name in define_machine()
authorNathan Lynch <ntl@pobox.com>
Wed, 12 Mar 2008 23:43:03 +0000 (10:43 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 25 Mar 2008 21:44:04 +0000 (08:44 +1100)
Prevailing practice for define_machine() in powerpc is to use the
platform name when the platform has only one define_machine()
statement, but maple uses "maple_md".  This caused me some
head-scratching when writing some new code that uses
machine_is(maple).

Use "maple" instead of "maple_md".  There should not be any behavioral
change -- fixup_maple_ide() calls machine_is(maple) but the body of
the function is ifdef'd out.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/maple/setup.c

index dadf33b5c09c4c60835d733802dd4d2da0b39f1a..364714757cf1a633093a30ef935ca4f4ae5fd762 100644 (file)
@@ -319,7 +319,7 @@ static int __init maple_probe(void)
        return 1;
 }
 
-define_machine(maple_md) {
+define_machine(maple) {
        .name                   = "Maple",
        .probe                  = maple_probe,
        .setup_arch             = maple_setup_arch,