summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/omap/sdp4430.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/soc/omap/sdp4430.c b/sound/soc/omap/sdp4430.c
index 471953ebf83..06583b534ab 100644
--- a/sound/soc/omap/sdp4430.c
+++ b/sound/soc/omap/sdp4430.c
@@ -39,6 +39,8 @@
#include "omap-dmic.h"
#include "../codecs/twl6040.h"
+#define SDP4430_SND_DEV_ID 0
+
static int twl6040_power_mode;
static int mcbsp_cfg;
@@ -897,7 +899,8 @@ static int __init sdp4430_soc_init(void)
}
printk(KERN_INFO "SDP4430 SoC init\n");
- sdp4430_snd_device = platform_device_alloc("soc-audio", -1);
+ sdp4430_snd_device = platform_device_alloc("soc-audio",
+ SDP4430_SND_DEV_ID);
if (!sdp4430_snd_device) {
printk(KERN_ERR "Platform device allocation failed\n");
return -ENOMEM;