Include appropriate header file include/pcmcia/ds.h in cistpl.c because
function pcmcia_parse_tuple() has its prototype declaration in
include/pcmcia/ds.h.

This eliminates the following warning in cistpl.c:
drivers/pcmcia/cistpl.c:1288:5: warning: no previous prototype for 
‘pcmcia_parse_tuple’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
---
 drivers/pcmcia/cistpl.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pcmcia/cistpl.c b/drivers/pcmcia/cistpl.c
index 884a984..5448c21 100644
--- a/drivers/pcmcia/cistpl.c
+++ b/drivers/pcmcia/cistpl.c
@@ -30,6 +30,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[] = {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to