diff options
Diffstat (limited to 'arch/mips/sgi-ip22/ip22-platform.c')
-rw-r--r-- | arch/mips/sgi-ip22/ip22-platform.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/sgi-ip22/ip22-platform.c b/arch/mips/sgi-ip22/ip22-platform.c index d93d07a8c317..fc6df96305ed 100644 --- a/arch/mips/sgi-ip22/ip22-platform.c +++ b/arch/mips/sgi-ip22/ip22-platform.c | |||
@@ -182,3 +182,14 @@ static int __init sgi_hal2_devinit(void) | |||
182 | } | 182 | } |
183 | 183 | ||
184 | device_initcall(sgi_hal2_devinit); | 184 | device_initcall(sgi_hal2_devinit); |
185 | |||
186 | static int __init sgi_button_devinit(void) | ||
187 | { | ||
188 | if (ip22_is_fullhouse()) | ||
189 | return 0; /* full house has no volume buttons */ | ||
190 | |||
191 | return IS_ERR(platform_device_register_simple("sgiindybtns", | ||
192 | -1, NULL, 0)); | ||
193 | } | ||
194 | |||
195 | device_initcall(sgi_button_devinit); | ||