From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754749Ab2K2SpP (ORCPT ); Thu, 29 Nov 2012 13:45:15 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:60086 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754156Ab2K2SpL (ORCPT ); Thu, 29 Nov 2012 13:45:11 -0500 Date: Thu, 29 Nov 2012 10:41:33 -0800 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, Rusty Russell , Jim Cromie , Borislav Petkov , Andrew Morton , Andi Kleen , Michal Marek , Tony Lindgren , Jonathan Kliegman , Chris Zankel Cc: Bill Pemberton , Fengguang Wu , Sam Ravnborg , linux-kbuild Subject: [PATCH 0/2] Remove __dev* sections from the kernel Message-ID: <20121129184133.GA15110@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)