diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2008-07-10 20:29:55 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 19:44:36 +0200 |
commit | 5b438c44082d9f09fed10f3621fe8d5c93d3676d (patch) | |
tree | e420164247b35796f1132345791252b8ef6f492d /arch/mips/sgi-ip22 | |
parent | [MIPS] TXx9: Update and merge defconfigs (diff) | |
download | linux-5b438c44082d9f09fed10f3621fe8d5c93d3676d.tar.xz linux-5b438c44082d9f09fed10f3621fe8d5c93d3676d.zip |
[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>
Diffstat (limited to 'arch/mips/sgi-ip22')
-rw-r--r-- | arch/mips/sgi-ip22/ip22-platform.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/sgi-ip22/ip22-platform.c b/arch/mips/sgi-ip22/ip22-platform.c index 28ffec8e5d1a..d93d07a8c317 100644 --- a/arch/mips/sgi-ip22/ip22-platform.c +++ b/arch/mips/sgi-ip22/ip22-platform.c @@ -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); |