Skip to content

Commit 990a1b5

Browse files
bjdooks-ctDominik Brodowski
authored andcommitted
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 <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
1 parent e2c0567 commit 990a1b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pcmcia/cardbus.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
#include <linux/pci.h>
2323

2424
#include <pcmcia/ss.h>
25+
#include <pcmcia/cistpl.h>
2526

27+
#include "cs_internal.h"
2628

2729
static void cardbus_config_irq_and_cls(struct pci_bus *bus, int irq)
2830
{

0 commit comments

Comments
 (0)