]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/oss/mpu401.c
[PATCH] shmem and simple const super_operations
[linux-2.6-omap-h63xx.git] / sound / oss / mpu401.c
index e96220541971498a0c25c31f98ebb36cc11d6f6f..2796c0ef985fc5c08d62af8c33b92da2c83e1240 100644 (file)
@@ -1023,7 +1023,7 @@ int attach_mpu401(struct address_info *hw_config, struct module *owner)
                                devc->capabilities |= MPU_CAP_INTLG;    /* Supports intelligent mode */
 
 
-       mpu401_synth_operations[m] = (struct synth_operations *)kmalloc(sizeof(struct synth_operations), GFP_KERNEL);
+       mpu401_synth_operations[m] = kmalloc(sizeof(struct synth_operations), GFP_KERNEL);
 
        if (mpu401_synth_operations[m] == NULL)
        {