[PATCH 2/3] drivers: pcmcia: Include appropriate header file incs_internal.h

From: Rashika Kheria
Date: Thu Dec 19 2013 - 03:34:37 EST


Include header file include/pcmcia/cistpl.h in cs_internal.h because
definition of variables 'cisdats_t', âcisparse_tâ and âtuple_tâ is
present in include/pcmcia/cistpl.h.

This eliminates the following errors in cs_internal.h:
drivers/pcmcia/cs_internal.h:164:9: error: unknown type name âcisdata_tâ
drivers/pcmcia/cs_internal.h:171:25: error: unknown type name âcisparse_tâ
drivers/pcmcia/cs_internal.h:172:28: error: unknown type name âtuple_tâ

Signed-off-by: Rashika Kheria <rashika.kheria@xxxxxxxxx>
Reviewed-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
---
drivers/pcmcia/cs_internal.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h
index 7f1953f..ce03389 100644
--- a/drivers/pcmcia/cs_internal.h
+++ b/drivers/pcmcia/cs_internal.h
@@ -22,6 +22,7 @@
#define _LINUX_CS_INTERNAL_H

#include <linux/kref.h>
+#include <pcmcia/cistpl.h>

/* Flags in client state */
#define CLIENT_WIN_REQ(i) (0x1<<(i))
--
1.7.9.5

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