Section mismatches in mtx1_defconfig
WARNING: drivers/watchdog/built-in.o(.data+0x24): Section mismatch in reference from the variable mtx1_wdt to the function .devinit.text:mtx1_wdt_probe() The variable mtx1_wdt references
the function __devinit mtx1_wdt_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
WARNING: drivers/watchdog/built-in.o(.data+0x28): Section mismatch in reference from the variable mtx1_wdt to the function .devexit.text:mtx1_wdt_remove() The variable mtx1_wdt references
the function __devexit mtx1_wdt_remove()
If the reference is valid then annotate the
variable with __exit* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
WARNING: drivers/built-in.o(.data+0x4ec4): Section mismatch in reference from the variable mtx1_wdt to the function .devinit.text:mtx1_wdt_probe() The variable mtx1_wdt references
the function __devinit mtx1_wdt_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
WARNING: drivers/built-in.o(.data+0x4ec8): Section mismatch in reference from the variable mtx1_wdt to the function .devexit.text:mtx1_wdt_remove() The variable mtx1_wdt references
the function __devexit mtx1_wdt_remove()
If the reference is valid then annotate the
variable with __exit* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
Hello Ralf,
Quoted 24 lines · On Tuesday 21 June 2011 16:59:42 Ralf Baechle wrote:
WARNING: drivers/watchdog/built-in.o(.data+0x24): Section mismatch in reference from the variable
mtx1_wdtto the function .devinit.text:mtx1_wdt_probe() The variablemtx1_wdtreferences the function__devinitmtx1_wdt_probe()
If the reference is valid then annotate the
variable with __init* or__refdata(seelinux/init.h) or name the variable:
*driver,*_template,*_timer,*_sht,*_ops,*_probe,*_probe_one,*_consoleWARNING: drivers/watchdog/built-in.o(.data+0x28): Section mismatch in reference from the variable
mtx1_wdtto the function .devexit.text:mtx1_wdt_remove() The variablemtx1_wdtreferences the function__devexitmtx1_wdt_remove()
If the reference is valid then annotate the
variable with __exit* (seelinux/init.h) or name the variable:
*driver,*_template,*_timer,*_sht,*_ops,*_probe,*_probe_one,*_consoleWARNING: drivers/built-in.o(.data+0x4ec4): Section mismatch in reference from the variable
mtx1_wdtto the function .devinit.text:mtx1_wdt_probe() The variablemtx1_wdtreferences
the function__devinitmtx1_wdt_probe()
If the reference is valid then annotate the
variable with __init* or__refdata(seelinux/init.h) or name the variable:
*driver,*_template,*_timer,*_sht,*_ops,*_probe,*_probe_one,*_console
Quoted 7 lines
WARNING: drivers/built-in.o(.data+0x4ec8): Section mismatch in reference from the variable
mtx1_wdtto the function .devexit.text:mtx1_wdt_remove() The variablemtx1_wdtreferences
the function__devexitmtx1_wdt_remove()
If the reference is valid then annotate the
variable with __exit* (seelinux/init.h) or name the variable:
*driver,*_template,*_timer,*_sht,*_ops,*_probe,*_probe_one,*_console
Fixed with [PATCH 4/5 v3] WATCHDOG: mtx1-wdt: fix section mismatch --
Florian