diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-01 01:44:43 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-01 01:44:43 +0100 |
commit | df9d1e8a4379119cbc47c474f168b5103e404e17 (patch) | |
tree | 4cb583dd397985c80ebb0e67f9ac566330477929 /fs/cifs/cifsfs.h | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (diff) | |
download | linux-df9d1e8a4379119cbc47c474f168b5103e404e17.tar.xz linux-df9d1e8a4379119cbc47c474f168b5103e404e17.zip |
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 <sfr@canb.auug.org.au>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/cifs/cifsfs.h')
0 files changed, 0 insertions, 0 deletions