Hi there,

This patch is a guess at what's missing, to fix a compile failure when 
CONFIG_SYSFS not set, going by nearby context.  Please check (or forward 
to someone) as I'm not sure if this is the right thing to do here.  
Compile tested.

kernel/profile.c:247: warning: 'profile_flip_buffers' defined but not used
kernel/profile.c:270: warning: 'profile_discard_flip_buffers' defined but not 
used
kernel/profile.c:337: warning: 'profile_cpu_callback' defined but not used
kernel/params.c:700: error: `module_uevent_ops' undeclared here (not in a 
function)
kernel/params.c:700: error: initializer element is not constant
kernel/params.c:700: error: (near initialization for 
`module_subsys.kset.uevent_ops')
kernel/params.c:700: error: initializer element is not constant
kernel/params.c:700: error: (near initialization for `module_subsys.kset')
make[1]: *** [kernel/params.o] Error 1
make: *** [kernel] Error 2

Signed-off-by: Grant Coady <[EMAIL PROTECTED]>

---
 params.c |    4 ++++
 1 files changed, 4 insertions(+)

--- linux-2.6.20-rc6-mm3/kernel/params.c        2007-01-30 16:25:34.000000000 
+1100
+++ linux-2.6.20-rc6-mm3c/kernel/params.c       2007-02-01 07:25:09.000000000 
+1100
@@ -691,6 +691,10 @@
        .show = NULL,
        .store = NULL,
 };
+
+static struct kset_uevent_ops module_uevent_ops = {
+       .filter = NULL,
+};
 #endif
 
 static struct kobj_type module_ktype = {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to