Commit 0ec6d95053885055a50d973b3a3906905a78a8bf
Committed by
Jeff Garzik
1 parent
bb33808d28
Exists in
master
and in
7 other branches
ibm_emac: fix section mismatch warnings
Fix "Section mismatch" warnings Signed-off-by: Eugene Surovegin <ebs@ebshome.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Showing 8 changed files with 8 additions and 10 deletions Side-by-side Diff
drivers/net/ibm_emac/ibm_emac_mal.c
drivers/net/ibm_emac/ibm_emac_mal.h
... | ... | @@ -223,8 +223,7 @@ |
223 | 223 | |
224 | 224 | int mal_register_commac(struct ibm_ocp_mal *mal, |
225 | 225 | struct mal_commac *commac) __init; |
226 | -void mal_unregister_commac(struct ibm_ocp_mal *mal, | |
227 | - struct mal_commac *commac) __exit; | |
226 | +void mal_unregister_commac(struct ibm_ocp_mal *mal, struct mal_commac *commac); | |
228 | 227 | int mal_set_rcbs(struct ibm_ocp_mal *mal, int channel, unsigned long size); |
229 | 228 | |
230 | 229 | /* Returns BD ring offset for a particular channel |
drivers/net/ibm_emac/ibm_emac_rgmii.c
... | ... | @@ -162,7 +162,7 @@ |
162 | 162 | out_be32(&dev->base->ssr, ssr); |
163 | 163 | } |
164 | 164 | |
165 | -void __exit __rgmii_fini(struct ocp_device *ocpdev, int input) | |
165 | +void __rgmii_fini(struct ocp_device *ocpdev, int input) | |
166 | 166 | { |
167 | 167 | struct ibm_ocp_rgmii *dev = ocp_get_drvdata(ocpdev); |
168 | 168 | BUG_ON(!dev || dev->users == 0); |
drivers/net/ibm_emac/ibm_emac_rgmii.h
... | ... | @@ -37,7 +37,7 @@ |
37 | 37 | #ifdef CONFIG_IBM_EMAC_RGMII |
38 | 38 | int rgmii_attach(void *emac) __init; |
39 | 39 | |
40 | -void __rgmii_fini(struct ocp_device *ocpdev, int input) __exit; | |
40 | +void __rgmii_fini(struct ocp_device *ocpdev, int input); | |
41 | 41 | static inline void rgmii_fini(struct ocp_device *ocpdev, int input) |
42 | 42 | { |
43 | 43 | if (ocpdev) |
drivers/net/ibm_emac/ibm_emac_tah.c
drivers/net/ibm_emac/ibm_emac_tah.h
drivers/net/ibm_emac/ibm_emac_zmii.c
... | ... | @@ -215,7 +215,7 @@ |
215 | 215 | out_be32(&dev->base->ssr, ssr); |
216 | 216 | } |
217 | 217 | |
218 | -void __exit __zmii_fini(struct ocp_device *ocpdev, int input) | |
218 | +void __zmii_fini(struct ocp_device *ocpdev, int input) | |
219 | 219 | { |
220 | 220 | struct ibm_ocp_zmii *dev = ocp_get_drvdata(ocpdev); |
221 | 221 | BUG_ON(!dev || dev->users == 0); |
drivers/net/ibm_emac/ibm_emac_zmii.h
... | ... | @@ -40,7 +40,7 @@ |
40 | 40 | #ifdef CONFIG_IBM_EMAC_ZMII |
41 | 41 | int zmii_attach(void *emac) __init; |
42 | 42 | |
43 | -void __zmii_fini(struct ocp_device *ocpdev, int input) __exit; | |
43 | +void __zmii_fini(struct ocp_device *ocpdev, int input); | |
44 | 44 | static inline void zmii_fini(struct ocp_device *ocpdev, int input) |
45 | 45 | { |
46 | 46 | if (ocpdev) |