From: Andi Kleen Date: Fri, 24 Jul 2009 09:41:15 +0000 (+0200) Subject: PCI: disable pci_find_device warnings when deprecated pci functions are enabled X-Git-Tag: v2.6.32-rc1~670^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8b553bf4b19c6a6d72f5eac3a17c43ac8e68390;p=pandora-kernel.git PCI: disable pci_find_device warnings when deprecated pci functions are enabled Shut off the long standing linux/drivers/pci/search.c:144: warning: 'pci_find_device' is deprecated (declared at linux/drivers/pci/search.c:136) linux/drivers/pci/search.c:144: warning: 'pci_find_device' is deprecated (declared at linux/drivers/pci/search.c:136) warnings that appear on every build when CONFIG_PCI_LEGACY is enabled. gcc warns for the use in EXPORT_SYMBOL I moved these to a separate file and disabled the warning in the Makefile for that file. Signed-off-by: Andi Kleen Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed