]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/params.c
h63xx: tsc2101 alsa sound support
[linux-2.6-omap-h63xx.git] / kernel / params.c
index 1a8614bac5d5c819110ae67bd21efca75845b600..c76ad25e6a214df9d534f5142da9f2a1a1729b52 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/module.h>
 #include <linux/device.h>
 #include <linux/err.h>
+#include <linux/slab.h>
 
 #if 0
 #define DEBUGP printk
@@ -618,7 +619,7 @@ static void __init param_sysfs_builtin(void)
 
 
 /* module-related sysfs stuff */
-#ifdef CONFIG_MODULES
+#ifdef CONFIG_SYSFS
 
 #define to_module_attr(n) container_of(n, struct module_attribute, attr);
 #define to_module_kobject(n) container_of(n, struct module_kobject, kobj);