summaryrefslogtreecommitdiff
path: root/arch/mips/netlogic/xlr/setup.c
diff options
context:
space:
mode:
authorJayachandran C <jayachandranc@netlogicmicro.com>2011-06-22 01:37:05 +0530
committerRalf Baechle <ralf@linux-mips.org>2011-10-20 15:00:19 +0100
commita74e33535fa27c758d2a23ebf5f8964bf19940bc (patch)
treebc7b84a1750b74e1d1260a7a6820671ac6daed47 /arch/mips/netlogic/xlr/setup.c
parentb77bb37a2ad7689d9ef8048df9cc30ee770f5a94 (diff)
downloadlwn-a74e33535fa27c758d2a23ebf5f8964bf19940bc.tar.gz
lwn-a74e33535fa27c758d2a23ebf5f8964bf19940bc.zip
MIPS:Netlogic:Fix section mismatch warnings.
Add __init and __cpuinit annotation to functions that need it. Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com> To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2535/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic/xlr/setup.c')
-rw-r--r--arch/mips/netlogic/xlr/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/netlogic/xlr/setup.c b/arch/mips/netlogic/xlr/setup.c
index 482802569e74..cee25ddd0887 100644
--- a/arch/mips/netlogic/xlr/setup.c
+++ b/arch/mips/netlogic/xlr/setup.c
@@ -53,7 +53,7 @@ unsigned long netlogic_io_base = (unsigned long)(DEFAULT_NETLOGIC_IO_BASE);
unsigned long nlm_common_ebase = 0x0;
struct psb_info nlm_prom_info;
-static void nlm_early_serial_setup(void)
+static void __init nlm_early_serial_setup(void)
{
struct uart_port s;
nlm_reg_t *uart_base;
@@ -101,7 +101,7 @@ void __init prom_free_prom_memory(void)
/* Nothing yet */
}
-static void build_arcs_cmdline(int *argv)
+static void __init build_arcs_cmdline(int *argv)
{
int i, remain, len;
char *arg;