1. 12 3月, 2012 2 次提交
  2. 24 11月, 2011 1 次提交
  3. 26 3月, 2011 1 次提交
    • R
      regulator: fix tps6524x section mismatch · 5362b098
      Randy Dunlap 提交于
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      
      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: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc:	Liam Girdwood <lrg@slimlogic.co.uk>
      Cc:	Mark Brown <broonie@opensource.wolfsonmicro.com>
      Cc:	Cyril Chemparathy <cyril@ti.com>
      Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      5362b098
  4. 12 1月, 2011 1 次提交