diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-09-19 09:33:55 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-10-12 21:15:26 +0100 |
commit | a7073b8b47651ce2ed27564ed8395eff81120c58 (patch) | |
tree | 78b355cbeb11f50730d5a065502a3b424183ba58 /include/asm-arm | |
parent | a88a447d44648f1dfba4c40b3f4b6f75597150ed (diff) | |
download | op-kernel-dev-a7073b8b47651ce2ed27564ed8395eff81120c58.zip op-kernel-dev-a7073b8b47651ce2ed27564ed8395eff81120c58.tar.gz |
[ARM] pxa: mark pxa_set_cken deprecated
Allow the generic clock support code to fiddle with the CKEN register
and mark pxa_set_cken() deprecated.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-pxa/hardware.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-arm/arch-pxa/hardware.h b/include/asm-arm/arch-pxa/hardware.h index 68e7b43..538a34e 100644 --- a/include/asm-arm/arch-pxa/hardware.h +++ b/include/asm-arm/arch-pxa/hardware.h @@ -116,7 +116,11 @@ extern void pxa_gpio_set_value(unsigned gpio, int value); /* * Routine to enable or disable CKEN */ -extern void pxa_set_cken(int clock, int enable); +static inline void __deprecated pxa_set_cken(int clock, int enable) +{ + extern void __pxa_set_cken(int clock, int enable); + __pxa_set_cken(clock, enable); +} /* * return current memory and LCD clock frequency in units of 10kHz |