aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/ss.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pcmcia/ss.h')
-rw-r--r--include/pcmcia/ss.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h
index 1a4737933bf3..9ab53d872489 100644
--- a/include/pcmcia/ss.h
+++ b/include/pcmcia/ss.h
@@ -263,10 +263,20 @@ struct pcmcia_socket {
263 * - pccard_nonstatic_ops iomem and ioport areas are assigned dynamically. 263 * - pccard_nonstatic_ops iomem and ioport areas are assigned dynamically.
264 * If this option is selected, use 264 * If this option is selected, use
265 * "select PCCARD_NONSTATIC" in Kconfig. 265 * "select PCCARD_NONSTATIC" in Kconfig.
266 *
266 */ 267 */
267extern struct pccard_resource_ops pccard_static_ops; 268extern struct pccard_resource_ops pccard_static_ops;
269#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
268extern struct pccard_resource_ops pccard_iodyn_ops; 270extern struct pccard_resource_ops pccard_iodyn_ops;
269extern struct pccard_resource_ops pccard_nonstatic_ops; 271extern struct pccard_resource_ops pccard_nonstatic_ops;
272#else
273/* If PCMCIA is not used, but only CARDBUS, these functions are not used
274 * at all. Therefore, do not use the large (240K!) rsrc_nonstatic module
275 */
276#define pccard_iodyn_ops pccard_static_ops
277#define pccard_nonstatic_ops pccard_static_ops
278#endif
279
270 280
271/* socket drivers are expected to use these callbacks in their .drv struct */ 281/* socket drivers are expected to use these callbacks in their .drv struct */
272extern int pcmcia_socket_dev_suspend(struct device *dev); 282extern int pcmcia_socket_dev_suspend(struct device *dev);