]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/dsp/dspgateway/dsp_ctl_core.c
REMOVE OMAP LEGACY CODE: Reset mach-omap1/board-*.c files to mainline
[linux-2.6-omap-h63xx.git] / drivers / dsp / dspgateway / dsp_ctl_core.c
index 956ef269871d18784cb99dea40744dc063da953d..25954bba9c8c6ad52fa6fb514dd6d987c13e6ad7 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/fs.h>
 #include <linux/device.h>
 #include <linux/init.h>
+#include <asm/io.h>
 #include "dsp.h"
 
 #define CTL_MINOR      0
@@ -109,9 +110,8 @@ int __init dsp_ctl_core_init(void)
        dsp_ctl_class = class_create(THIS_MODULE, "dspctl");
        for (i = 0; i < ARRAY_SIZE(dev_list); i++) {
                device_create(dsp_ctl_class, NULL,
-                                   MKDEV(OMAP_DSP_CTL_MAJOR,
-                                         dev_list[i].minor),
-                                   dev_list[i].devname);
+                             MKDEV(OMAP_DSP_CTL_MAJOR, dev_list[i].minor),
+                             NULL, dev_list[i].devname);
        }
 
        return 0;