aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/ds.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pcmcia/ds.h')
-rw-r--r--include/pcmcia/ds.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index 8512cf9a1216..ce76ab587df6 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -183,10 +183,12 @@ struct pcmcia_device {
183 183
184 char * prod_id[4]; 184 char * prod_id[4];
185 185
186 struct device dev;
187
188#ifdef CONFIG_PCMCIA_IOCTL
186 /* device driver wanted by cardmgr */ 189 /* device driver wanted by cardmgr */
187 struct pcmcia_driver * cardmgr; 190 struct pcmcia_driver * cardmgr;
188 191#endif
189 struct device dev;
190}; 192};
191 193
192#define to_pcmcia_dev(n) container_of(n, struct pcmcia_device, dev) 194#define to_pcmcia_dev(n) container_of(n, struct pcmcia_device, dev)