From: Rafael J. Wysocki Date: Thu, 31 Dec 2009 18:06:35 +0000 (+0100) Subject: PCI: Fix build if quirks are not enabled X-Git-Tag: v2.6.33-rc3~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b889bf237fca383b5807ad69fde3ad1e2287e42;p=pandora-kernel.git PCI: Fix build if quirks are not enabled After commit b9c3b266411d27f1a6466c19d146d08db576bfea ("PCI: support device-specific reset methods") the kernel build is broken if CONFIG_PCI_QUIRKS is unset. Fix this by moving pci_dev_specific_reset() to drivers/pci/quirks.c and providing an empty replacement for !CONFIG_PCI_QUIRKS builds. Signed-off-by: Rafael J. Wysocki Reported-by: Ingo Molnar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed