diff options
author | Randy Dunlap <[email protected]> | 2011-03-24 13:30:59 -0700 |
---|---|---|
committer | Liam Girdwood <[email protected]> | 2011-03-26 14:15:06 +0000 |
commit | 5362b09849508db94a15f3f6996427aab248320a (patch) | |
tree | 4b094eda9660c5440fea51b96a25b1d40e0c20ab /tools/perf/util/trace-event-scripting.c | |
parent | 69952369ed2367bae0ae207a6e380ed40cdbc414 (diff) |
regulator: fix tps6524x section mismatch
Acked-by: Mark Brown <[email protected]>
Fix section mismatch that is caused by init code calling exit code:
pmic_remove() cannot be marked as __devexit.
WARNING: drivers/regulator/tps6524x-regulator.o(.devinit.text+0x205): Section mismatch in reference from the function pmic_probe() to the function .devexit.text:pmic_remove()
The function __devinit pmic_probe() references
a function __devexit pmic_remove().
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
pmic_remove() so it may be used outside an exit section.
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Cyril Chemparathy <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions