diff options
| -rw-r--r-- | drivers/isdn/hisax/teles_cs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/isdn/hisax/teles_cs.c b/drivers/isdn/hisax/teles_cs.c index b0c5976cbdb3..d010a0da8e19 100644 --- a/drivers/isdn/hisax/teles_cs.c +++ b/drivers/isdn/hisax/teles_cs.c | |||
| @@ -57,7 +57,7 @@ module_param(protocol, int, 0); | |||
| 57 | handler. | 57 | handler. |
| 58 | */ | 58 | */ |
| 59 | 59 | ||
| 60 | static int teles_cs_config(struct pcmcia_device *link); | 60 | static int teles_cs_config(struct pcmcia_device *link) __devinit ; |
| 61 | static void teles_cs_release(struct pcmcia_device *link); | 61 | static void teles_cs_release(struct pcmcia_device *link); |
| 62 | 62 | ||
| 63 | /* | 63 | /* |
| @@ -66,7 +66,7 @@ static void teles_cs_release(struct pcmcia_device *link); | |||
| 66 | needed to manage one actual PCMCIA card. | 66 | needed to manage one actual PCMCIA card. |
| 67 | */ | 67 | */ |
| 68 | 68 | ||
| 69 | static void teles_detach(struct pcmcia_device *p_dev); | 69 | static void teles_detach(struct pcmcia_device *p_dev) __devexit ; |
| 70 | 70 | ||
| 71 | /* | 71 | /* |
| 72 | A linked list of "instances" of the teles_cs device. Each actual | 72 | A linked list of "instances" of the teles_cs device. Each actual |
| @@ -112,7 +112,7 @@ typedef struct local_info_t { | |||
| 112 | 112 | ||
| 113 | ======================================================================*/ | 113 | ======================================================================*/ |
| 114 | 114 | ||
| 115 | static int teles_probe(struct pcmcia_device *link) | 115 | static int __devinit teles_probe(struct pcmcia_device *link) |
| 116 | { | 116 | { |
| 117 | local_info_t *local; | 117 | local_info_t *local; |
| 118 | 118 | ||
| @@ -156,7 +156,7 @@ static int teles_probe(struct pcmcia_device *link) | |||
| 156 | 156 | ||
| 157 | ======================================================================*/ | 157 | ======================================================================*/ |
| 158 | 158 | ||
| 159 | static void teles_detach(struct pcmcia_device *link) | 159 | static void __devexit teles_detach(struct pcmcia_device *link) |
| 160 | { | 160 | { |
| 161 | local_info_t *info = link->priv; | 161 | local_info_t *info = link->priv; |
| 162 | 162 | ||
| @@ -200,7 +200,7 @@ static int teles_cs_configcheck(struct pcmcia_device *p_dev, | |||
| 200 | return -ENODEV; | 200 | return -ENODEV; |
| 201 | } | 201 | } |
| 202 | 202 | ||
| 203 | static int teles_cs_config(struct pcmcia_device *link) | 203 | static int __devinit teles_cs_config(struct pcmcia_device *link) |
| 204 | { | 204 | { |
| 205 | local_info_t *dev; | 205 | local_info_t *dev; |
| 206 | int i; | 206 | int i; |
| @@ -319,7 +319,7 @@ static struct pcmcia_driver teles_cs_driver = { | |||
| 319 | .name = "teles_cs", | 319 | .name = "teles_cs", |
| 320 | }, | 320 | }, |
| 321 | .probe = teles_probe, | 321 | .probe = teles_probe, |
| 322 | .remove = teles_detach, | 322 | .remove = __devexit_p(teles_detach), |
| 323 | .id_table = teles_ids, | 323 | .id_table = teles_ids, |
| 324 | .suspend = teles_suspend, | 324 | .suspend = teles_suspend, |
| 325 | .resume = teles_resume, | 325 | .resume = teles_resume, |
