]> git.baikalelectronics.ru Git - kernel.git/commit
init.h: Remove __dev* sections from the kernel
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Nov 2012 18:43:28 +0000 (10:43 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Nov 2012 20:08:42 +0000 (12:08 -0800)
commitad7a7fef5ba0f2eea5d7e0441899d12c6c1a5d8d
treef40328af1f8e9817c09d3960ade6e3ae5ab45673
parentca715369122039e22d5de6e8c45cae1e07b4ce5d
init.h: Remove __dev* sections from the kernel

With the recent work to remove CONFIG_HOTPLUG, we are starting to get a
bunch of __devinit section warnings, despite CONFIG_HOTPLUG always being
enabled.  So, stop marking the sections entirely, by defining them away
the section markings in init.h

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/init.h