[PATCH] pcmcia: cleanups

From: Adrian Bunk <[email protected]>

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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Dominik Brodowski 2005-06-27 16:28:15 -07:00 • committed by Linus Torvalds
commit e94e15f705
4 changed files with 8 additions and 11 deletions

View file

@ -417,7 +417,6 @@ int pcmcia_suspend_card(struct pcmcia_socket *skt);
int pcmcia_resume_card(struct pcmcia_socket *skt);
int pcmcia_eject_card(struct pcmcia_socket *skt);
int pcmcia_insert_card(struct pcmcia_socket *skt);
int pcmcia_report_error(client_handle_t handle, error_info_t *err);
struct pcmcia_socket * pcmcia_get_socket(struct pcmcia_socket *skt);
void pcmcia_put_socket(struct pcmcia_socket *skt);

View file

@ -131,8 +131,6 @@ typedef struct dev_link_t {
struct pcmcia_socket;
extern struct bus_type pcmcia_bus_type;
struct pcmcia_driver {
dev_link_t *(*attach)(void);
void (*detach)(dev_link_t *);