ARM: Orion5x: Fix warnings when using C=1.
Add missing include files, missing static keyword, and use NULL instead of 0, in order to fix warnings when compiling with C=1. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Cette révision appartient à :

révisé par
Jason Cooper

Parent
48fce88cb5
révision
4236666688
@@ -135,7 +135,7 @@ void __init orion5x_sata_init(struct mv_sata_platform_data *sata_data)
|
||||
/*****************************************************************************
|
||||
* SPI
|
||||
****************************************************************************/
|
||||
void __init orion5x_spi_init()
|
||||
void __init orion5x_spi_init(void)
|
||||
{
|
||||
orion_spi_init(SPI_PHYS_BASE);
|
||||
}
|
||||
@@ -185,7 +185,7 @@ static void __init orion5x_crypto_init(void)
|
||||
/*****************************************************************************
|
||||
* Watchdog
|
||||
****************************************************************************/
|
||||
void __init orion5x_wdt_init(void)
|
||||
static void __init orion5x_wdt_init(void)
|
||||
{
|
||||
orion_wdt_init();
|
||||
}
|
||||
@@ -246,7 +246,7 @@ void orion5x_setup_wins(void)
|
||||
|
||||
int orion5x_tclk;
|
||||
|
||||
int __init orion5x_find_tclk(void)
|
||||
static int __init orion5x_find_tclk(void)
|
||||
{
|
||||
u32 dev, rev;
|
||||
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur