From: Linus Torvalds Date: Fri, 1 Jan 2010 00:44:43 +0000 (-0800) Subject: pci: avoid compiler warning in quirks.c X-Git-Tag: v2.6.33-rc3~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df9d1e8a4379119cbc47c474f168b5103e404e17;p=pandora-kernel.git pci: avoid compiler warning in quirks.c Introduced by commit 5b889bf23 ("PCI: Fix build if quirks are not enabled"), which made the pci_dev_reset_methods[] array static and 'const', but didn't then change the code to match, and use a const pointer when moving it to quirks.c. Trivially fixed by just adding the required 'const' to the iterator variable. Reported-by: Stephen Rothwell Cc: Rafael J. Wysocki Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed