Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755903AbZJLMHW (ORCPT ); Mon, 12 Oct 2009 08:07:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755797AbZJLMHU (ORCPT ); Mon, 12 Oct 2009 08:07:20 -0400 Received: from casper.infradead.org ([85.118.1.10]:42948 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755794AbZJLMHR (ORCPT ); Mon, 12 Oct 2009 08:07:17 -0400 Subject: [PATCH 2/4] Mark pci_apply_final_quirks() __init rather than __devinit From: David Woodhouse To: Linus Torvalds Cc: "Rafael J.Wysocki" , Greg Kroah-Hartman , Linux Kernel Mailing List , Adrian Bunk , Andrew Morton , Natalie Protasevich In-Reply-To: <1255342738.24732.265.camel@macbook.infradead.org> References: <1255342738.24732.265.camel@macbook.infradead.org> Content-Type: text/plain; charset="UTF-8" Date: Mon, 12 Oct 2009 13:06:14 +0100 Message-Id: <1255349174.10605.9.camel@macbook.infradead.org> Mime-Version: 1.0 X-Mailer: Evolution 2.28.0 (2.28.0-2.fc12) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 30 It doesn't get invoked on hotplug; it can be thrown away after init. Signed-off-by: David Woodhouse --- drivers/pci/quirks.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 0142275..77bf620 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -2573,7 +2573,7 @@ void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev) pci_do_fixups(dev, start, end); } -static int __devinit pci_apply_final_quirks(void) +static int __init pci_apply_final_quirks(void) { struct pci_dev *dev = NULL; -- 1.6.5.rc2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/