[PATCH] memory_hotplug.h cleanup

We don't have to #if guard prototypes.

This also fixes a bug observed by Randy Dunlap due to a misspelled
option in the #if.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Adrian Bunk and committed by Linus Torvalds 72b38d43 46539264

-3
-3
include/linux/memory_hotplug.h
··· 99 99 return -ENOSYS; 100 100 } 101 101 102 - #if defined(CONFIG_MEMORY_HOTPLUG) || defined(CONFIG_ACPI_HOTPLUG_MEMORY) \ 103 - || defined(CONFIG_ACPI_HOTPLUG_MEMORY_MODULE) 104 102 extern int add_memory(u64 start, u64 size); 105 103 extern int remove_memory(u64 start, u64 size); 106 - #endif 107 104 108 105 #endif /* __LINUX_MEMORY_HOTPLUG_H */