aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/ss.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-06-19 13:02:52 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-06-24 09:33:42 -0400
commitc502380170ee93fd1f4028cc1f32efc87fde7376 (patch)
tree3743249953d40aa0f08cc9ae4f7774c8907b3326 /include/pcmcia/ss.h
parent635416ef393e8cec5a89fc6c1de710ee9596a51e (diff)
pcmcia: carve out ioctl adjust function to pcmcia_ioctl
Let pcmcia_ioctl interact with rsrc_nonstatic using functions which rsrc_nonstatic.c has to use anyway. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/ss.h')
-rw-r--r--include/pcmcia/ss.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h
index 2edc7fa3bab3..e6a2338b370f 100644
--- a/include/pcmcia/ss.h
+++ b/include/pcmcia/ss.h
@@ -136,8 +136,14 @@ struct pccard_resource_ops {
136 struct resource* (*find_mem) (unsigned long base, unsigned long num, 136 struct resource* (*find_mem) (unsigned long base, unsigned long num,
137 unsigned long align, int low, 137 unsigned long align, int low,
138 struct pcmcia_socket *s); 138 struct pcmcia_socket *s);
139 int (*adjust_resource) (struct pcmcia_socket *s, 139 int (*add_io) (struct pcmcia_socket *s,
140 adjust_t *adj); 140 unsigned int action,
141 unsigned long r_start,
142 unsigned long r_end);
143 int (*add_mem) (struct pcmcia_socket *s,
144 unsigned int action,
145 unsigned long r_start,
146 unsigned long r_end);
141 int (*init) (struct pcmcia_socket *s); 147 int (*init) (struct pcmcia_socket *s);
142 void (*exit) (struct pcmcia_socket *s); 148 void (*exit) (struct pcmcia_socket *s);
143}; 149};