diff options
author | Krzysztof Wilczyński <kw@linux.com> | 2021-05-09 07:19:32 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2021-06-03 19:11:45 +0300 |
commit | 1243106474294ea4ea95d9fc076549817814ce1d (patch) | |
tree | c74f779e559c55b8508881084ce81f9c600353bc /drivers/dma/at_hdmac.c | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) | |
download | linux-1243106474294ea4ea95d9fc076549817814ce1d.tar.xz |
PCI: microchip: Make the struct event_descs static
The struct event_descs does not have any users outside the
pcie-microchip-host.c file, and has no previous declaration,
thus it can be made static.
This resolves the following sparse warning:
drivers/pci/controller/pcie-microchip-host.c:352:3: warning: symbol 'event_descs' was not declared. Should it be static?
Link: https://lore.kernel.org/r/20210509041932.560340-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/dma/at_hdmac.c')
0 files changed, 0 insertions, 0 deletions