Commit 2c250134 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] More sparse fixes

arch/arm/kernel/irq.c:998:26: warning: Using plain integer as NULL pointer
arch/arm/kernel/smp.c:145:25: warning: Using plain integer as NULL pointer
arch/arm/kernel/smp.c:362:5: warning: symbol 'smp_call_function_on_cpu' was not declared. Should it be static?
drivers/video/amba-clcd.c:521:12: warning: symbol 'amba_clcdfb_init' was not declared. Should it be static?
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 5d43045b
...@@ -995,7 +995,7 @@ void __init init_irq_proc(void) ...@@ -995,7 +995,7 @@ void __init init_irq_proc(void)
struct proc_dir_entry *dir; struct proc_dir_entry *dir;
int irq; int irq;
dir = proc_mkdir("irq", 0); dir = proc_mkdir("irq", NULL);
if (!dir) if (!dir)
return; return;
......
...@@ -515,7 +515,7 @@ static void ipi_cpu_stop(unsigned int cpu) ...@@ -515,7 +515,7 @@ static void ipi_cpu_stop(unsigned int cpu)
* *
* Bit 0 - Inter-processor function call * Bit 0 - Inter-processor function call
*/ */
void do_IPI(struct pt_regs *regs) asmlinkage void do_IPI(struct pt_regs *regs)
{ {
unsigned int cpu = smp_processor_id(); unsigned int cpu = smp_processor_id();
struct ipi_data *ipi = &per_cpu(ipi_data, cpu); struct ipi_data *ipi = &per_cpu(ipi_data, cpu);
......
...@@ -518,7 +518,7 @@ static struct amba_driver clcd_driver = { ...@@ -518,7 +518,7 @@ static struct amba_driver clcd_driver = {
.id_table = clcdfb_id_table, .id_table = clcdfb_id_table,
}; };
int __init amba_clcdfb_init(void) static int __init amba_clcdfb_init(void)
{ {
if (fb_get_options("ambafb", NULL)) if (fb_get_options("ambafb", NULL))
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment