mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 23:18:20 +00:00
[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>
This commit is contained in:
parent
fdc614e873
commit
66a7f72d98
@ -26,7 +26,6 @@
|
|||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
|
|
||||||
#include <asm/arch/pxa-regs.h>
|
#include <asm/arch/pxa-regs.h>
|
||||||
#include <asm/arch/pxa2xx-regs.h> /* for __pxa_set_cken */
|
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
|
||||||
@ -60,23 +59,6 @@ unsigned int get_memclk_frequency_10khz(void)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(get_memclk_frequency_10khz);
|
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.
|
* Intel PXA2xx internal register mapping.
|
||||||
*
|
*
|
||||||
|
@ -191,15 +191,6 @@ extern int pxa_gpio_get_value(unsigned gpio);
|
|||||||
*/
|
*/
|
||||||
extern void pxa_gpio_set_value(unsigned gpio, int value);
|
extern void pxa_gpio_set_value(unsigned gpio, int value);
|
||||||
|
|
||||||
/*
|
|
||||||
* Routine to enable or disable CKEN
|
|
||||||
*/
|
|
||||||
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
|
* return current memory and LCD clock frequency in units of 10kHz
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user