[PATCH] memory_sysdev_class is static
authorAndrew Morton <akpm@osdl.org>
Mon, 28 Nov 2005 21:43:47 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 28 Nov 2005 22:42:23 +0000 (14:42 -0800)
commitff88a3b2f56ae4f3296ea957ea38f99f8bd0e5a8
tree1ffdfa0790c2dcba92a17851bbb6d58fe99f7757
parenta9d9baa1e819b2f92f9cfa5240f766c535e636a6
[PATCH] memory_sysdev_class is static

So don't define it as extern in the header file.

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

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/memory.h