[PATCH 2/3] drivers: pcmcia: Include appropriate header file in cs_internal.h
Rashika Kheria
rashika.kheria at gmail.com
Thu Dec 19 03:34:25 EST 2013
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 at gmail.com>
Reviewed-by: Josh Triplett <josh at joshtriplett.org>
---
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
More information about the linux-pcmcia
mailing list