]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
watchdog: sp805: Fix section mismatch in ID table.
authorNick Bowler <nbowler@elliptictech.com>
Mon, 19 Dec 2011 16:22:36 +0000 (11:22 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 26 Dec 2011 14:14:31 +0000 (15:14 +0100)
commitbb558dac6776386a4d6994540a009231dcf53ee1
tree5ed61e52ad94fc0f4f7b9317a4259f8304682628
parent452190cb0526e9cc11b0998a600411cb9c7cd684
watchdog: sp805: Fix section mismatch in ID table.

The AMBA ID table is marked as __initdata, yet it is referenced by the
driver struct which is not.  This causes a (somewhat unhelpful) section
mismatch warning:

  WARNING: drivers/watchdog/sp805_wdt.o(.data+0x4c): Section mismatch in
           reference from the variable sp805_wdt_driver to the (unknown
           reference) .init.data:(unknown)

Fix this by removing the annotation.

Signed-off-by: Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sp805_wdt.c