summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-03-28 21:39:35 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-08-10 22:12:37 +1000
commit618a89d738fdd97f6fc58b7b666c7a84b2bb95e3 (patch)
tree8ca324cd466ff1a0694133a1fa83a5743cfa8f3a /.gitignore
parent8921305c1ec9d9ea23e5f8eac3063021e836530a (diff)
downloadlinux-618a89d738fdd97f6fc58b7b666c7a84b2bb95e3.tar.bz2
powerpc/powermac: Make some functions static
These functions can all be static, make it so. Fix warnings treated as errors with W=1: arch/powerpc/platforms/powermac/pci.c:1022:6: error: no previous prototype for ‘pmac_pci_fixup_ohci’ arch/powerpc/platforms/powermac/pci.c:1057:6: error: no previous prototype for ‘pmac_pci_fixup_cardbus’ arch/powerpc/platforms/powermac/pci.c:1094:6: error: no previous prototype for ‘pmac_pci_fixup_pciata’ Remove has_address declaration and assignment since it's not used. Also add gcc attribute unused to fix a warning treated as error with W=1: arch/powerpc/platforms/powermac/pci.c:784:19: error: variable ‘has_address’ set but not used arch/powerpc/platforms/powermac/pci.c:907:22: error: variable ‘ht’ set but not used Suggested-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions