diff options
author | Jean-Christophe PLAGNIOL-VILLARD <[email protected]> | 2012-02-22 17:50:54 +0100 |
---|---|---|
committer | Nicolas Ferre <[email protected]> | 2012-02-23 09:26:41 +0100 |
commit | 8ff12ad3df62ee343d5f5ec29572b9d2c5c2cedd (patch) | |
tree | 96a4c446fc380bffb040418beffbc3ba7cc438b1 /net/lapb/lapb_subr.c | |
parent | 0dcfed1486739afdce053ebdccac28076e9d9e1f (diff) |
ARM: at91/pm_slowclock: function slow_clock() accepts parameters
Change slow_clock()/at91_slow_clock() prototype to accept the PMC
base address and one or two RAM controller addresses by parameters.
The r0, r1 and r2 registers are used differently and preserved during
function call.
Those values are defined in pm.c and slow_clock() function is called
from there with its new parameters.
This will allow to have a soc independent pm_slowclock.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
Ached-by: Nicolas Ferre <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions