Re: 2.6.15-rc2-mm1
From: Andrew Morton
Date: Thu Nov 24 2005 - 00:03:31 EST
KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
>
> CHK include/linux/version.h
> CHK include/linux/compile.h
> CHK usr/initramfs_list
> CC drivers/base/memory.o
> drivers/base/memory.c:28: error: static declaration of 'memory_sysdev_class' follows non-static declaration
> include/linux/memory.h:88: error: previous declaration of 'memory_sysdev_class' was here
Thanks.
--- devel/include/linux/memory.h~memory_sysdev_class-is-static 2005-11-23 21:01:27.000000000 -0800
+++ devel-akpm/include/linux/memory.h 2005-11-23 21:01:36.000000000 -0800
@@ -85,7 +85,6 @@ struct notifier_block;
extern int register_memory_notifier(struct notifier_block *nb);
extern void unregister_memory_notifier(struct notifier_block *nb);
-extern struct sysdev_class memory_sysdev_class;
#endif /* CONFIG_MEMORY_HOTPLUG */
#define hotplug_memory_notifier(fn, pri) { \
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/