Skip to content

Commit

Permalink
[MIPS] IP22: Use common SGI button driver
Browse files Browse the repository at this point in the history
Use the Indy/O2 button driver.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Jul 20, 2008
1 parent 36e5c21 commit 5a334fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/mips/sgi-ip22/ip22-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ static int __init sgi_button_devinit(void)
if (ip22_is_fullhouse())
return 0; /* full house has no volume buttons */

return IS_ERR(platform_device_register_simple("sgiindybtns",
-1, NULL, 0));
return IS_ERR(platform_device_register_simple("sgibtns", -1, NULL, 0));
}

device_initcall(sgi_button_devinit);

0 comments on commit 5a334fa

Please sign in to comment.