]> git.baikalelectronics.ru Git - 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)
commitd5f3078692edab5ca2088674d6b324ce932a3391
tree5ed61e52ad94fc0f4f7b9317a4259f8304682628
parentfddbbb04cdaa17077ad98b3f6c80f03bc95aacb4
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