ARM: Dove: Fix compiler warnings with C=1 builds
Add missing static keywords. Remove the unused function dove_crypto_init(). Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
4236666688
commit
887c206a22
|
@ -162,7 +162,7 @@ void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data)
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* SoC RTC
|
* SoC RTC
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
void __init dove_rtc_init(void)
|
static void __init dove_rtc_init(void)
|
||||||
{
|
{
|
||||||
orion_rtc_init(DOVE_RTC_PHYS_BASE, IRQ_DOVE_RTC);
|
orion_rtc_init(DOVE_RTC_PHYS_BASE, IRQ_DOVE_RTC);
|
||||||
}
|
}
|
||||||
|
@ -256,19 +256,10 @@ void __init dove_timer_init(void)
|
||||||
IRQ_DOVE_BRIDGE, dove_tclk);
|
IRQ_DOVE_BRIDGE, dove_tclk);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
* Cryptographic Engines and Security Accelerator (CESA)
|
|
||||||
****************************************************************************/
|
|
||||||
void __init dove_crypto_init(void)
|
|
||||||
{
|
|
||||||
orion_crypto_init(DOVE_CRYPT_PHYS_BASE, DOVE_CESA_PHYS_BASE,
|
|
||||||
DOVE_CESA_SIZE, IRQ_DOVE_CRYPTO);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* XOR 0
|
* XOR 0
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
void __init dove_xor0_init(void)
|
static void __init dove_xor0_init(void)
|
||||||
{
|
{
|
||||||
orion_xor0_init(DOVE_XOR0_PHYS_BASE, DOVE_XOR0_HIGH_PHYS_BASE,
|
orion_xor0_init(DOVE_XOR0_PHYS_BASE, DOVE_XOR0_HIGH_PHYS_BASE,
|
||||||
IRQ_DOVE_XOR_00, IRQ_DOVE_XOR_01);
|
IRQ_DOVE_XOR_00, IRQ_DOVE_XOR_01);
|
||||||
|
@ -277,7 +268,7 @@ void __init dove_xor0_init(void)
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* XOR 1
|
* XOR 1
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
void __init dove_xor1_init(void)
|
static void __init dove_xor1_init(void)
|
||||||
{
|
{
|
||||||
orion_xor1_init(DOVE_XOR1_PHYS_BASE, DOVE_XOR1_HIGH_PHYS_BASE,
|
orion_xor1_init(DOVE_XOR1_PHYS_BASE, DOVE_XOR1_HIGH_PHYS_BASE,
|
||||||
IRQ_DOVE_XOR_10, IRQ_DOVE_XOR_11);
|
IRQ_DOVE_XOR_10, IRQ_DOVE_XOR_11);
|
||||||
|
|
Loading…
Reference in New Issue