diff options
author | Krzysztof Wilczynski <[email protected]> | 2019-08-26 17:14:36 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-09-05 13:26:46 -0500 |
commit | 8050f3f6645ae0f7e4c1304593f6f7eb2ee7d85c (patch) | |
tree | 8f481e80f21ebefad22789039d77bad488c71e38 /net/lapb/lapb_in.c | |
parent | 7f1c62c443a453deb6eb3515e3c05650ffe0dcf0 (diff) |
PCI: Use static const struct, not const static struct
Move the static keyword to the front of declarations of pci_regs_behavior[]
and pcie_cap_regs_behavior[], which resolves compiler warnings when
building with "W=1":
drivers/pci/pci-bridge-emul.c:41:1: warning: ‘static’ is not at beginning of
declaration [-Wold-style-declaration]
const static struct pci_bridge_reg_behavior pci_regs_behavior[] = {
^
drivers/pci/pci-bridge-emul.c:176:1: warning: ‘static’ is not at beginning of
declaration [-Wold-style-declaration]
const static struct pci_bridge_reg_behavior pcie_cap_regs_behavior[] = {
^
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Wilczynski <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Thomas Petazzoni <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions