diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-02 19:05:33 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-28 12:02:51 -0500 |
commit | d7b0364bfc71c4abc97dfc47f85bb32363266e4e (patch) | |
tree | 063158e0ecdb2c4acd9ade051e21f10ff93d6eee /drivers/pcmcia/cs_internal.h | |
parent | 0bdf9b3dd3cfa5cbd5d55172c19f5dd166208e17 (diff) |
pcmcia: move some window-related code to pcmcia_ioctl.c
pcmcia_get_window() and pcmcia_get_mem_page() were only called from
pcmcia_ioctl.c. Therefore, move these functions to that file, and
remove the useless EXPORTs.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r-- | drivers/pcmcia/cs_internal.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h index 6df41de39d16..3bc02d53a3a3 100644 --- a/drivers/pcmcia/cs_internal.h +++ b/drivers/pcmcia/cs_internal.h | |||
@@ -148,10 +148,6 @@ extern struct rw_semaphore pcmcia_socket_list_rwsem; | |||
148 | extern struct list_head pcmcia_socket_list; | 148 | extern struct list_head pcmcia_socket_list; |
149 | extern struct class pcmcia_socket_class; | 149 | extern struct class pcmcia_socket_class; |
150 | 150 | ||
151 | int pcmcia_get_window(struct pcmcia_socket *s, | ||
152 | window_handle_t *wh_out, | ||
153 | window_handle_t wh, | ||
154 | win_req_t *req); | ||
155 | int pccard_register_pcmcia(struct pcmcia_socket *s, struct pcmcia_callback *c); | 151 | int pccard_register_pcmcia(struct pcmcia_socket *s, struct pcmcia_callback *c); |
156 | struct pcmcia_socket *pcmcia_get_socket_by_nr(unsigned int nr); | 152 | struct pcmcia_socket *pcmcia_get_socket_by_nr(unsigned int nr); |
157 | 153 | ||
@@ -227,8 +223,6 @@ extern void pcmcia_put_dev(struct pcmcia_device *p_dev); | |||
227 | 223 | ||
228 | struct pcmcia_device *pcmcia_device_add(struct pcmcia_socket *s, | 224 | struct pcmcia_device *pcmcia_device_add(struct pcmcia_socket *s, |
229 | unsigned int function); | 225 | unsigned int function); |
230 | int pcmcia_get_mem_page(struct pcmcia_socket *skt, window_handle_t win, | ||
231 | memreq_t *req); | ||
232 | 226 | ||
233 | /* pcmcia_ioctl.c */ | 227 | /* pcmcia_ioctl.c */ |
234 | extern void __init pcmcia_setup_ioctl(void); | 228 | extern void __init pcmcia_setup_ioctl(void); |