diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:28:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:08 -0400 |
commit | e94e15f70559962f60915a09d44658b73a453fe2 (patch) | |
tree | 0ce8fb08e276cfc93a65b82ded38c4c1a1c9169b /include/pcmcia | |
parent | daa9517d9eccc3598b2b0cdfa0b016ae4a4fcdce (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.h | 1 | ||||
-rw-r--r-- | include/pcmcia/ds.h | 2 |
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); | |||
417 | int pcmcia_resume_card(struct pcmcia_socket *skt); | 417 | int pcmcia_resume_card(struct pcmcia_socket *skt); |
418 | int pcmcia_eject_card(struct pcmcia_socket *skt); | 418 | int pcmcia_eject_card(struct pcmcia_socket *skt); |
419 | int pcmcia_insert_card(struct pcmcia_socket *skt); | 419 | int pcmcia_insert_card(struct pcmcia_socket *skt); |
420 | int pcmcia_report_error(client_handle_t handle, error_info_t *err); | ||
421 | 420 | ||
422 | struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt); | 421 | struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt); |
423 | void pcmcia_put_socket(struct pcmcia_socket *skt); | 422 | void 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 | ||
132 | struct pcmcia_socket; | 132 | struct pcmcia_socket; |
133 | 133 | ||
134 | extern struct bus_type pcmcia_bus_type; | ||
135 | |||
136 | struct pcmcia_driver { | 134 | struct 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 *); |