X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;ds=sidebyside;f=sound%2Foss%2Fsb_mixer.c;h=2039d31b7e2248f25fdf3b38c81f264e1669ed4e;hb=2a6a432a9ce55876b92f9ea860d7baa05538de16;hp=ccb21d48d42c5f4c41208e7fb767220a95d18c99;hpb=55d8ca4f8094246da6e71889a4e04bfafaa78b10;p=mv-sheeva.git diff --git a/sound/oss/sb_mixer.c b/sound/oss/sb_mixer.c index ccb21d48d42..2039d31b7e2 100644 --- a/sound/oss/sb_mixer.c +++ b/sound/oss/sb_mixer.c @@ -1,5 +1,5 @@ /* - * sound/sb_mixer.c + * sound/oss/sb_mixer.c * * The low level mixer driver for the Sound Blaster compatible cards. */ @@ -16,6 +16,8 @@ * Stanislav Voronyi : Support for AWE 3DSE device (Jun 7 1999) */ +#include + #include "sound_config.h" #define __SB_MIXER_C__ @@ -734,7 +736,7 @@ int sb_mixer_init(sb_devc * devc, struct module *owner) if (m == -1) return 0; - mixer_devs[m] = (struct mixer_operations *)kmalloc(sizeof(struct mixer_operations), GFP_KERNEL); + mixer_devs[m] = kmalloc(sizeof(struct mixer_operations), GFP_KERNEL); if (mixer_devs[m] == NULL) { printk(KERN_ERR "sb_mixer: Can't allocate memory\n");