Changeset 26855


Ignore:
Timestamp:
2011-05-08T15:30:36+02:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: ag71xx: fix section mismatch warnings

The function devinit ag71xx_probe() references
a function
devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.

The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the devexit annotation of
ag71xx_ar7240_cleanup.

Location:
trunk/target/linux/ar71xx/files/drivers/net/ag71xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.