[PATCH 1/3] drivers: pcmcia: Include appropriate header file in cistpl.c

Rashika Kheria rashika.kheria at gmail.com
Thu Dec 19 03:33:07 EST 2013


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 <rashika.kheria at gmail.com>
Reviewed-by: Josh Triplett <josh at joshtriplett.org>
---
 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




More information about the linux-pcmcia mailing list