Commit 5b438c44 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer Committed by Ralf Baechle

[MIPS] IP22/28: Add platform devices for HAL2

Create platform devices for hal2 and add option for selecting HAL2 alsa
driver.
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent bf744d41
...@@ -385,6 +385,8 @@ config SGI_IP28 ...@@ -385,6 +385,8 @@ config SGI_IP28
select SGI_HAS_DS1286 select SGI_HAS_DS1286
select SGI_HAS_I8042 select SGI_HAS_I8042
select SGI_HAS_INDYDOG select SGI_HAS_INDYDOG
select SGI_HAS_HAL2
select SGI_HAS_HAL2
select SGI_HAS_SEEQ select SGI_HAS_SEEQ
select SGI_HAS_WD93 select SGI_HAS_WD93
select SGI_HAS_ZILOG select SGI_HAS_ZILOG
...@@ -868,6 +870,9 @@ config SGI_HAS_DS1286 ...@@ -868,6 +870,9 @@ config SGI_HAS_DS1286
config SGI_HAS_INDYDOG config SGI_HAS_INDYDOG
bool bool
config SGI_HAS_HAL2
bool
config SGI_HAS_SEEQ config SGI_HAS_SEEQ
bool bool
......
...@@ -175,3 +175,10 @@ static int __init sgiseeq_devinit(void) ...@@ -175,3 +175,10 @@ static int __init sgiseeq_devinit(void)
} }
device_initcall(sgiseeq_devinit); device_initcall(sgiseeq_devinit);
static int __init sgi_hal2_devinit(void)
{
return IS_ERR(platform_device_register_simple("sgihal2", 0, NULL, 0));
}
device_initcall(sgi_hal2_devinit);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment