aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sound/arm')
-rw-r--r--sound/arm/sa11xx-uda1341.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/arm/sa11xx-uda1341.c b/sound/arm/sa11xx-uda1341.c
index 3c342c1a7c80..13057d92f08a 100644
--- a/sound/arm/sa11xx-uda1341.c
+++ b/sound/arm/sa11xx-uda1341.c
@@ -21,7 +21,7 @@
21 * merged HAL layer (patches from Brian) 21 * merged HAL layer (patches from Brian)
22 */ 22 */
23 23
24/* $Id: sa11xx-uda1341.c,v 1.26 2005/11/17 17:19:50 tiwai Exp $ */ 24/* $Id: sa11xx-uda1341.c,v 1.27 2005/12/07 09:13:42 cladisch Exp $ */
25 25
26/*************************************************************************************************** 26/***************************************************************************************************
27* 27*
@@ -155,6 +155,8 @@ static struct snd_pcm_hw_constraint_list hw_constraints_rates = {
155 .mask = 0, 155 .mask = 0,
156}; 156};
157 157
158static struct platform_device *device;
159
158/* }}} */ 160/* }}} */
159 161
160/* {{{ Clock and sample rate stuff */ 162/* {{{ Clock and sample rate stuff */
@@ -976,7 +978,6 @@ static struct platform_driver sa11xx_uda1341_driver = {
976static int __init sa11xx_uda1341_init(void) 978static int __init sa11xx_uda1341_init(void)
977{ 979{
978 int err; 980 int err;
979 struct platform_device *device;
980 981
981 if (!machine_is_h3xxx()) 982 if (!machine_is_h3xxx())
982 return -ENODEV; 983 return -ENODEV;
@@ -992,6 +993,7 @@ static int __init sa11xx_uda1341_init(void)
992 993
993static void __exit sa11xx_uda1341_exit(void) 994static void __exit sa11xx_uda1341_exit(void)
994{ 995{
996 platform_device_unregister(device);
995 platform_driver_unregister(&sa11xx_uda1341_driver); 997 platform_driver_unregister(&sa11xx_uda1341_driver);
996} 998}
997 999