• H
    mfd: Section cleanup of 88pm860x driver · 872c1b14
    Henrik Kretzschmar 提交于
    This patch fixes three section mismatches.
    
    WARNING: drivers/mfd/88pm860x.o(.text+0x12): Section mismatch in
    reference from the function pm860x_device_exit() to the function
    .devexit.text:device_irq_exit()
    The function pm860x_device_exit() references a function in an exit
    section.
    Often the function device_irq_exit() has valid usage outside the exit
    section
    and the fix is to remove the __devexit annotation of device_irq_exit.
    
    WARNING: drivers/mfd/88pm860x.o(.text+0xb0): Section mismatch in
    reference from the function pm860x_device_init() to the function
    .devinit.text:device_8606_init()
    The function pm860x_device_init() references
    the function __devinit device_8606_init().
    This is often because pm860x_device_init lacks a __devinit
    annotation or the annotation of device_8606_init is wrong.
    
    WARNING: drivers/mfd/88pm860x.o(.text+0xbe): Section mismatch in
    reference from the function pm860x_device_init() to the function
    .devinit.text:device_8607_init()
    The function pm860x_device_init() references
    the function __devinit device_8607_init().
    This is often because pm860x_device_init lacks a __devinit
    annotation or the annotation of device_8607_init is wrong.
    Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
    Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
    872c1b14
88pm860x-core.c 17.3 KB