Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752854AbZK3VYj (ORCPT ); Mon, 30 Nov 2009 16:24:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753294AbZK3VYi (ORCPT ); Mon, 30 Nov 2009 16:24:38 -0500 Received: from smtp.mujha-vel.cz ([81.30.225.246]:47851 "EHLO smtp.mujha-vel.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752933AbZK3VYi (ORCPT ); Mon, 30 Nov 2009 16:24:38 -0500 X-Greylist: delayed 3898 seconds by postgrey-1.27 at vger.kernel.org; Mon, 30 Nov 2009 16:24:38 EST From: Jiri Slaby To: jbarnes@virtuousgeek.org Cc: jirislaby@gmail.com, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab Subject: [PATCH 1/2] EDAC: add __init to i7core_xeon_pci_fixup Date: Mon, 30 Nov 2009 21:19:41 +0100 Message-Id: <1259612382-32722-1-git-send-email-jslaby@suse.cz> X-Mailer: git-send-email 1.6.5.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's called only from an __init function and is the only user of pcibios_scan_specific_bus which will be marked as __devinit in the next patch. Signed-off-by: Jiri Slaby Cc: Mauro Carvalho Chehab --- drivers/edac/i7core_edac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index 4de5a18..c7fc0d5 100644 --- a/drivers/edac/i7core_edac.c +++ b/drivers/edac/i7core_edac.c @@ -1141,7 +1141,7 @@ static void i7core_put_all_devices(void) i7core_put_devices(i7core_dev); } -static void i7core_xeon_pci_fixup(int dev_id) +static void __init i7core_xeon_pci_fixup(int dev_id) { struct pci_dev *pdev = NULL; int i; -- 1.6.5.3