mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 13:44:15 +08:00
ucc_geth: really fix section mismatch
Commit ed7e63a51d
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>
This commit is contained in:
parent
7a1fd33057
commit
87e417b2f3
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user