]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit78d86c213f28193082b5d8a1a424044b7ba406f1
treef40328af1f8e9817c09d3960ade6e3ae5ab45673
parentda095fd3d5063f2dd03468d71f7df39a0430d86f
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