Skip to content

Commit

Permalink
ucc_geth: really fix section mismatch
Browse files Browse the repository at this point in the history
Commit ed7e63a has tried to fix
section mismatch:

WARNING: vmlinux.o(.init.text+0x17278): Section mismatch: reference to
.exit.text:uec_mdio_exit (between 'ucc_geth_init' and 'uec_mdio_init')

But that mismatch still happens.

This patch actually fixing section mismatch by removing __exit from
the header file.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Anton Vorontsov authored and Jeff Garzik committed Dec 17, 2007
1 parent 7a1fd33 commit 87e417b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ucc_geth_mii.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ enum enet_tbi_mii_reg {
int uec_mdio_read(struct mii_bus *bus, int mii_id, int regnum);
int uec_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value);
int __init uec_mdio_init(void);
void __exit uec_mdio_exit(void);
void uec_mdio_exit(void);
#endif /* __UEC_MII_H */

0 comments on commit 87e417b

Please sign in to comment.