X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Foss%2Fad1848.c;h=7cf9913a47b26ca4e3adb02a25e2538542913463;hb=85b80ebfa4384b8ea30cc1af9617db30319a9ccd;hp=0ffa9970bf0ff307cee68b9698c3bffc63f3eee9;hpb=12e36b2f41b6cbc67386fcb9c59c32a3e2033905;p=linux-2.6 diff --git a/sound/oss/ad1848.c b/sound/oss/ad1848.c index 0ffa9970bf..7cf9913a47 100644 --- a/sound/oss/ad1848.c +++ b/sound/oss/ad1848.c @@ -1992,7 +1992,7 @@ int ad1848_init (char *name, struct resource *ports, int irq, int dma_playback, devc->audio_flags |= DMA_DUPLEX; } - portc = (ad1848_port_info *) kmalloc(sizeof(ad1848_port_info), GFP_KERNEL); + portc = kmalloc(sizeof(ad1848_port_info), GFP_KERNEL); if(portc==NULL) { release_region(devc->base, 4); return -1;