From: Kumar, Anil Date: Wed, 6 Feb 2013 04:00:04 +0000 (+0530) Subject: ARM: davinci: da850 DT: add support for machine reboot X-Git-Tag: v3.9-rc1~116^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19c7c0d81a9b1fe7342d0208b629b5e085e4f3ae;p=pandora-kernel.git ARM: davinci: da850 DT: add support for machine reboot Update the da8xx_restart() function to support machine reboot when booting using DT. Have the function search for the watchdog platform device instead of always using "da8xx_wdt_device" which is never registered in DT case. While at it, also make da8xx_wdt_device static since there is no need for it to be globally visible. Tested machine reboot with both DT and non-DT boot on DA850 EVM. Signed-off-by: Kumar, Anil Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed