aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/cs_internal.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2009-11-02 19:05:33 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2009-11-28 12:02:51 -0500
commitd7b0364bfc71c4abc97dfc47f85bb32363266e4e (patch)
tree063158e0ecdb2c4acd9ade051e21f10ff93d6eee /drivers/pcmcia/cs_internal.h
parent0bdf9b3dd3cfa5cbd5d55172c19f5dd166208e17 (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.h6
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;
148extern struct list_head pcmcia_socket_list; 148extern struct list_head pcmcia_socket_list;
149extern struct class pcmcia_socket_class; 149extern struct class pcmcia_socket_class;
150 150
151int pcmcia_get_window(struct pcmcia_socket *s,
152 window_handle_t *wh_out,
153 window_handle_t wh,
154 win_req_t *req);
155int pccard_register_pcmcia(struct pcmcia_socket *s, struct pcmcia_callback *c); 151int pccard_register_pcmcia(struct pcmcia_socket *s, struct pcmcia_callback *c);
156struct pcmcia_socket *pcmcia_get_socket_by_nr(unsigned int nr); 152struct 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
228struct pcmcia_device *pcmcia_device_add(struct pcmcia_socket *s, 224struct pcmcia_device *pcmcia_device_add(struct pcmcia_socket *s,
229 unsigned int function); 225 unsigned int function);
230int 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 */
234extern void __init pcmcia_setup_ioctl(void); 228extern void __init pcmcia_setup_ioctl(void);