aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2005-06-27 19:28:15 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-27 21:03:08 -0400
commite94e15f70559962f60915a09d44658b73a453fe2 (patch)
tree0ce8fb08e276cfc93a65b82ded38c4c1a1c9169b /include/pcmcia
parentdaa9517d9eccc3598b2b0cdfa0b016ae4a4fcdce (diff)
[PATCH] pcmcia: cleanups
From: Adrian Bunk <bunk@stusta.de> This patch contains the following cleanups: - make needlessly global code static - remove the following unneeded EXPORT_SYMBOL's: - ds.c: pcmcia_report_error - ds.c: pcmcia_bus_type Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/pcmcia')
-rw-r--r--include/pcmcia/cs.h1
-rw-r--r--include/pcmcia/ds.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
index 8d8643adc786..60a3decea820 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -417,7 +417,6 @@ int pcmcia_suspend_card(struct pcmcia_socket *skt);
417int pcmcia_resume_card(struct pcmcia_socket *skt); 417int pcmcia_resume_card(struct pcmcia_socket *skt);
418int pcmcia_eject_card(struct pcmcia_socket *skt); 418int pcmcia_eject_card(struct pcmcia_socket *skt);
419int pcmcia_insert_card(struct pcmcia_socket *skt); 419int pcmcia_insert_card(struct pcmcia_socket *skt);
420int pcmcia_report_error(client_handle_t handle, error_info_t *err);
421 420
422struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt); 421struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt);
423void pcmcia_put_socket(struct pcmcia_socket *skt); 422void pcmcia_put_socket(struct pcmcia_socket *skt);
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index c267edde9d0c..2b52553f2d94 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -131,8 +131,6 @@ typedef struct dev_link_t {
131 131
132struct pcmcia_socket; 132struct pcmcia_socket;
133 133
134extern struct bus_type pcmcia_bus_type;
135
136struct pcmcia_driver { 134struct pcmcia_driver {
137 dev_link_t *(*attach)(void); 135 dev_link_t *(*attach)(void);
138 void (*detach)(dev_link_t *); 136 void (*detach)(dev_link_t *);