diff options
author | Pavel Roskin <proski@gnu.org> | 2005-09-23 04:18:06 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-23 04:36:13 -0400 |
commit | 393da59834eef526fc6fd0df321e94344d7c49e3 (patch) | |
tree | bf4285c3f2064b56c2b188d4f24fe2b3d740290b /drivers/net/wireless | |
parent | 8aeabc375041a5fe9c9be315472497b2e0547eed (diff) |
[PATCH] orinoco: Remove unneeded forward declarations.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Remove unneeded forward declarations.
Also reorder struct pcmcia_driver initialization to keep attach and
detach together.
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/orinoco_cs.c | 15 | ||||
-rw-r--r-- | drivers/net/wireless/spectrum_cs.c | 15 |
2 files changed, 6 insertions, 24 deletions
diff --git a/drivers/net/wireless/orinoco_cs.c b/drivers/net/wireless/orinoco_cs.c index 195c530f209f..dc1128a00971 100644 --- a/drivers/net/wireless/orinoco_cs.c +++ b/drivers/net/wireless/orinoco_cs.c | |||
@@ -80,17 +80,8 @@ static dev_link_t *dev_list; /* = NULL */ | |||
80 | /* Function prototypes */ | 80 | /* Function prototypes */ |
81 | /********************************************************************/ | 81 | /********************************************************************/ |
82 | 82 | ||
83 | /* device methods */ | 83 | static void orinoco_cs_release(dev_link_t *link); |
84 | static int orinoco_cs_hard_reset(struct orinoco_private *priv); | 84 | static void orinoco_cs_detach(dev_link_t *link); |
85 | |||
86 | /* PCMCIA gumpf */ | ||
87 | static void orinoco_cs_config(dev_link_t * link); | ||
88 | static void orinoco_cs_release(dev_link_t * link); | ||
89 | static int orinoco_cs_event(event_t event, int priority, | ||
90 | event_callback_args_t * args); | ||
91 | |||
92 | static dev_link_t *orinoco_cs_attach(void); | ||
93 | static void orinoco_cs_detach(dev_link_t *); | ||
94 | 85 | ||
95 | /********************************************************************/ | 86 | /********************************************************************/ |
96 | /* Device methods */ | 87 | /* Device methods */ |
@@ -675,8 +666,8 @@ static struct pcmcia_driver orinoco_driver = { | |||
675 | .name = DRIVER_NAME, | 666 | .name = DRIVER_NAME, |
676 | }, | 667 | }, |
677 | .attach = orinoco_cs_attach, | 668 | .attach = orinoco_cs_attach, |
678 | .event = orinoco_cs_event, | ||
679 | .detach = orinoco_cs_detach, | 669 | .detach = orinoco_cs_detach, |
670 | .event = orinoco_cs_event, | ||
680 | .id_table = orinoco_cs_ids, | 671 | .id_table = orinoco_cs_ids, |
681 | }; | 672 | }; |
682 | 673 | ||
diff --git a/drivers/net/wireless/spectrum_cs.c b/drivers/net/wireless/spectrum_cs.c index 61199543aeb7..ceed0241adcd 100644 --- a/drivers/net/wireless/spectrum_cs.c +++ b/drivers/net/wireless/spectrum_cs.c | |||
@@ -89,17 +89,8 @@ static dev_link_t *dev_list; /* = NULL */ | |||
89 | /* Function prototypes */ | 89 | /* Function prototypes */ |
90 | /********************************************************************/ | 90 | /********************************************************************/ |
91 | 91 | ||
92 | /* device methods */ | 92 | static void spectrum_cs_release(dev_link_t *link); |
93 | static int spectrum_cs_hard_reset(struct orinoco_private *priv); | 93 | static void spectrum_cs_detach(dev_link_t *link); |
94 | |||
95 | /* PCMCIA gumpf */ | ||
96 | static void spectrum_cs_config(dev_link_t * link); | ||
97 | static void spectrum_cs_release(dev_link_t * link); | ||
98 | static int spectrum_cs_event(event_t event, int priority, | ||
99 | event_callback_args_t * args); | ||
100 | |||
101 | static dev_link_t *spectrum_cs_attach(void); | ||
102 | static void spectrum_cs_detach(dev_link_t *); | ||
103 | 94 | ||
104 | /********************************************************************/ | 95 | /********************************************************************/ |
105 | /* Firmware downloader */ | 96 | /* Firmware downloader */ |
@@ -1058,8 +1049,8 @@ static struct pcmcia_driver orinoco_driver = { | |||
1058 | .name = DRIVER_NAME, | 1049 | .name = DRIVER_NAME, |
1059 | }, | 1050 | }, |
1060 | .attach = spectrum_cs_attach, | 1051 | .attach = spectrum_cs_attach, |
1061 | .event = spectrum_cs_event, | ||
1062 | .detach = spectrum_cs_detach, | 1052 | .detach = spectrum_cs_detach, |
1053 | .event = spectrum_cs_event, | ||
1063 | .id_table = spectrum_cs_ids, | 1054 | .id_table = spectrum_cs_ids, |
1064 | }; | 1055 | }; |
1065 | 1056 | ||