diff options
author | Mathieu Malaterre <malat@debian.org> | 2018-03-28 21:39:35 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-08-10 22:12:37 +1000 |
commit | 618a89d738fdd97f6fc58b7b666c7a84b2bb95e3 (patch) | |
tree | 8ca324cd466ff1a0694133a1fa83a5743cfa8f3a /drivers/bluetooth/hci_ll.c | |
parent | 8921305c1ec9d9ea23e5f8eac3063021e836530a (diff) | |
download | linux-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 'drivers/bluetooth/hci_ll.c')
0 files changed, 0 insertions, 0 deletions