mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 09:34:17 +00:00
[MIPS] IP22: Use common SGI button driver
Use the Indy/O2 button driver. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
36e5c21de5
commit
5a334fa924
@ -188,8 +188,7 @@ static int __init sgi_button_devinit(void)
|
|||||||
if (ip22_is_fullhouse())
|
if (ip22_is_fullhouse())
|
||||||
return 0; /* full house has no volume buttons */
|
return 0; /* full house has no volume buttons */
|
||||||
|
|
||||||
return IS_ERR(platform_device_register_simple("sgiindybtns",
|
return IS_ERR(platform_device_register_simple("sgibtns", -1, NULL, 0));
|
||||||
-1, NULL, 0));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
device_initcall(sgi_button_devinit);
|
device_initcall(sgi_button_devinit);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user