diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-10-17 14:40:59 +0300 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2019-11-22 09:03:04 +0300 |
commit | 990a1b506d3d3a0cb9a0e141d23e76b31b560288 (patch) | |
tree | 29150beee4bd83f91cfd129408eb146f78418262 /drivers/pcmcia | |
parent | e2c05675979707b337b7af6319a9053bd286ed50 (diff) | |
download | linux-990a1b506d3d3a0cb9a0e141d23e76b31b560288.tar.xz |
pcmcia: include cs_internal.h for missing declarations
Include cs_internal.h (and pcmcia/cistpl.h as required by
cs_internal.h) for the declearions of cb_alloc and cb_free
to silence the following sparse warnings:
drivers/pcmcia/cardbus.c:64:11: warning: symbol 'cb_alloc' was not declared. Should it be static?
drivers/pcmcia/cardbus.c:103:6: warning: symbol 'cb_free' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/cardbus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pcmcia/cardbus.c b/drivers/pcmcia/cardbus.c index c502dfbf66e3..45c8252c8edc 100644 --- a/drivers/pcmcia/cardbus.c +++ b/drivers/pcmcia/cardbus.c @@ -22,7 +22,9 @@ #include <linux/pci.h> #include <pcmcia/ss.h> +#include <pcmcia/cistpl.h> +#include "cs_internal.h" static void cardbus_config_irq_and_cls(struct pci_bus *bus, int irq) { |