Messages in this thread Patch in this message | | | Date | Mon, 14 Nov 2005 19:37:40 +0000 | Subject | [PATCH 3/4] register_memory should be global | From | Andy Whitcroft <> |
| |
register_memory is global and declared so in linux.h. Update the HOTPLUG specific definition to match. This fixes a compile warning when HOTPLUG is enabled.
Signed-off-by: Andy Whitcroft <apw@shadowen.org> --- memory.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -upN reference/drivers/base/memory.c current/drivers/base/memory.c --- reference/drivers/base/memory.c +++ current/drivers/base/memory.c @@ -63,8 +63,7 @@ void unregister_memory_notifier(struct n /* * register_memory - Setup a sysfs device for a memory block */ -static int -register_memory(struct memory_block *memory, struct mem_section *section, +int register_memory(struct memory_block *memory, struct mem_section *section, struct node *root) { int error; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |