summaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion5x/ts209-setup.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2013-10-23 18:12:51 +0400
committerJason Cooper <jason@lakedaemon.net>2013-11-24 06:36:40 +0400
commit4236666688e9dbc38d0c7a98b7cfa16c8961f752 (patch)
tree281914acfb2e9449fe43c1a92a0be5ea13b90f16 /arch/arm/mach-orion5x/ts209-setup.c
parent48fce88cb5fac1b9f9f1c3c756d1e5caa42d5692 (diff)
downloadlinux-4236666688e9dbc38d0c7a98b7cfa16c8961f752.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-orion5x/ts209-setup.c')
-rw-r--r--arch/arm/mach-orion5x/ts209-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/ts209-setup.c b/arch/arm/mach-orion5x/ts209-setup.c
index e90c0618fdad..9136797addb2 100644
--- a/arch/arm/mach-orion5x/ts209-setup.c
+++ b/arch/arm/mach-orion5x/ts209-setup.c
@@ -106,7 +106,7 @@ static struct platform_device qnap_ts209_nor_flash = {
#define QNAP_TS209_PCI_SLOT0_IRQ_PIN 6
#define QNAP_TS209_PCI_SLOT1_IRQ_PIN 7
-void __init qnap_ts209_pci_preinit(void)
+static void __init qnap_ts209_pci_preinit(void)
{
int pin;