[MIPS] IP22/28: Add platform devices for HAL2
Create platform devices for hal2 and add option for selecting HAL2 alsa driver. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
bf744d417f
commit
5b438c4408
@ -175,3 +175,10 @@ static int __init sgiseeq_devinit(void)
|
||||
}
|
||||
|
||||
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);
|
||||
|
Reference in New Issue
Block a user