pcmcia: include <pcmcia/ds.h> for pcmcia_parse_tuple
PATCH 1/1 pcmcia: include <pcmcia/ds.h> for pcmcia_parse_tuple
Include <pcmcia/ds.h> for pcmcia_parse_tuple declaration to fix the following sparse warning:
drivers/pcmcia/cistpl.c:1287:5: warning: symbol 'pcmcia_parse_tuple' was not declared. Should it be static?
Signed-off-by Ben Dooks <[email protected]>
---
Cc: Dominik Brodowski <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
.. (open list)
--- drivers/pcmcia/cistpl.c | 1 + 1 file changed, 1 insertion(+)
drivers/pcmcia/cistpl.c +1 -0
@@ -28,6 +28,7 @@#include <pcmcia/ss.h> #include <pcmcia/cisreg.h> #include <pcmcia/cistpl.h> +#include <pcmcia/ds.h> #include "cs_internal.h" static const u_char mantissa[] = {
Signature · 1 line
2.23.0
Quoted 4 lines · Ben Dooks (Codethink)
Include <
pcmcia/ds.h> forpcmcia_parse_tupledeclaration to fix the following sparse warning:
drivers/pcmcia/cistpl.c:1287:5: warning: symbol 'pcmcia_parse_tuple' was not declared. Should it be static?
Applied to the PCMCIA tree.
Thanks,
Dominik