[PATCH 0/2] Remove __dev* sections from the kernel

From: Greg Kroah-Hartman
Date: Thu Nov 29 2012 - 13:45:04 EST


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 lets remove these false warnings by removing the check for
them in the modpost.c tool. Also, lets stop marking the sections
entirely, so define away the section markings in init.h

I'll queue these two patches up through my driver-core git tree, which
has the bulk of the __dev* marking removal patches in it. If anyone has
any objections to this, please let me know.

thanks,

greg k-h

---
include/linux/init.h | 18 +++++++-----------
scripts/mod/modpost.c | 24 ++++++++++--------------
2 files changed, 17 insertions(+), 25 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/