From: Randy Dunlap Date: Thu, 24 Mar 2011 20:32:44 +0000 (-0700) Subject: watchdog: fix nv_tco section mismatch X-Git-Tag: v2.6.39-rc1~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=708d42472fba9a661a85ce12006c87ba3172a37e;p=pandora-kernel.git watchdog: fix nv_tco section mismatch Fix section mismatch warning: Mark the called nv_tco_getdevice() as __devinit, just like its caller. WARNING: drivers/watchdog/nv_tco.o(.devinit.text+0x16): Section mismatch in reference from the function nv_tco_init() to the function .init.text:nv_tco_getdevice() The function __devinit nv_tco_init() references a function __init nv_tco_getdevice(). If nv_tco_getdevice is only used by nv_tco_init then annotate nv_tco_getdevice with a matching annotation. Signed-off-by: Randy Dunlap Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed