diff options
| author | Cyril Chemparathy <[email protected]> | 2010-05-01 18:38:28 -0400 |
|---|---|---|
| committer | Kevin Hilman <[email protected]> | 2010-05-06 15:02:09 -0700 |
| commit | c78a5bc2e77e8fc5be29cda5b28c9b9afd0f4b6d (patch) | |
| tree | fc54260054d1b46d9f4e6f47c56952a82ee6b1e4 /net/lapb/lapb_out.c | |
| parent | 5b3a05ca911688c53680f2b020a1512b9da29c89 (diff) | |
Davinci: watchdog reset separation across socs
The earlier watchdog reset mechanism had a couple of limitations. First, it
embedded a reference to "davinci_wdt_device" inside common code. This
forced all derived platforms (da8xx and tnetv107x) to define such a device.
This also would have caused problems in including multiple socs in a single
build due to symbol redefinition.
With this patch, davinci_watchdog_reset() now takes the platform device as an
argument. The davinci_soc_info struct has been extended to include a reset
function and a watchdog platform_device. arch_reset() then uses these
elements to reset the system in a SoC specific fashion.
Signed-off-by: Cyril Chemparathy <[email protected]>
Tested-by: Sandeep Paulraj <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions