aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/opl3.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/opl3.c')
-rw-r--r--sound/oss/opl3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/opl3.c b/sound/oss/opl3.c
index 4799bc77f987..2e8cfa5481f2 100644
--- a/sound/oss/opl3.c
+++ b/sound/oss/opl3.c
@@ -166,7 +166,7 @@ int opl3_detect(int ioaddr, int *osp)
166 return 0; 166 return 0;
167 } 167 }
168 168
169 devc = (struct opl_devinfo *)kmalloc(sizeof(*devc), GFP_KERNEL); 169 devc = kmalloc(sizeof(*devc), GFP_KERNEL);
170 170
171 if (devc == NULL) 171 if (devc == NULL)
172 { 172 {