]> err.no Git - linux-2.6/blobdiff - sound/core/misc.c
[PATCH] SoftMAC: Prevent multiple authentication attempts on the same network
[linux-2.6] / sound / core / misc.c
index 3eddfdede9f3d3445df0fbb4821a382839c07051..03fc711f4127a5d361cc9b349ef7258c224136d9 100644 (file)
@@ -30,10 +30,12 @@ void release_and_free_resource(struct resource *res)
 {
        if (res) {
                release_resource(res);
-               kfree_nocheck(res);
+               kfree(res);
        }
 }
 
+EXPORT_SYMBOL(release_and_free_resource);
+
 #ifdef CONFIG_SND_VERBOSE_PRINTK
 void snd_verbose_printk(const char *file, int line, const char *format, ...)
 {
@@ -51,6 +53,8 @@ void snd_verbose_printk(const char *file, int line, const char *format, ...)
        vprintk(format, args);
        va_end(args);
 }
+
+EXPORT_SYMBOL(snd_verbose_printk);
 #endif
 
 #if defined(CONFIG_SND_DEBUG) && defined(CONFIG_SND_VERBOSE_PRINTK)
@@ -71,4 +75,6 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...)
        va_end(args);
 
 }
+
+EXPORT_SYMBOL(snd_verbose_printd);
 #endif