summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/generic.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-06-02 16:10:20 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-09 20:56:28 +0100
commit66a7f72d9892013e9ea663260f407758989ff510 (patch)
treef3a517b3a6ac49deaa5c77ac76ecdacef293a7d8 /arch/arm/mach-pxa/generic.c
parentfdc614e873bc56ed15d8f4e9fa33516cd0915fc2 (diff)
downloadlinux-66a7f72d9892013e9ea663260f407758989ff510.tar.gz
linux-66a7f72d9892013e9ea663260f407758989ff510.tar.bz2
linux-66a7f72d9892013e9ea663260f407758989ff510.zip
[ARM] pxa: remove pxa_set_cken()
pxa_set_cken() is now unused, remove it. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/generic.c')
-rw-r--r--arch/arm/mach-pxa/generic.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c
index c2f102339f57..ca053226fba0 100644
--- a/arch/arm/mach-pxa/generic.c
+++ b/arch/arm/mach-pxa/generic.c
@@ -26,7 +26,6 @@
#include <asm/mach/map.h>
#include <asm/arch/pxa-regs.h>
-#include <asm/arch/pxa2xx-regs.h> /* for __pxa_set_cken */
#include "generic.h"
@@ -61,23 +60,6 @@ unsigned int get_memclk_frequency_10khz(void)
EXPORT_SYMBOL(get_memclk_frequency_10khz);
/*
- * Routine to safely enable or disable a clock in the CKEN
- */
-void __pxa_set_cken(int clock, int enable)
-{
- unsigned long flags;
- local_irq_save(flags);
-
- if (enable)
- CKEN |= (1 << clock);
- else
- CKEN &= ~(1 << clock);
-
- local_irq_restore(flags);
-}
-EXPORT_SYMBOL(__pxa_set_cken);
-
-/*
* Intel PXA2xx internal register mapping.
*
* Note 1: not all PXA2xx variants implement all those addresses.