Jelajahi Sumber

irqchip/bcm2836: Make bcm2836_smp_boot_secondary static

The bcm2836_smp_boot_secondary() is not declared or used elsewhere
so make it static to fix the following warning:

drivers/irqchip/irq-bcm2836.c:227:12: warning: symbol 'bcm2836_smp_boot_secondary' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://lkml.kernel.org/r/1465407697-8116-1-git-send-email-ben.dooks@codethink.co.uk
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Ben Dooks 9 tahun lalu
induk
melakukan
1eeb67362d
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      drivers/irqchip/irq-bcm2836.c

+ 2 - 2
drivers/irqchip/irq-bcm2836.c

@@ -224,8 +224,8 @@ static struct notifier_block bcm2836_arm_irqchip_cpu_notifier = {
 };
 };
 
 
 #ifdef CONFIG_ARM
 #ifdef CONFIG_ARM
-int __init bcm2836_smp_boot_secondary(unsigned int cpu,
-				      struct task_struct *idle)
+static int __init bcm2836_smp_boot_secondary(unsigned int cpu,
+					     struct task_struct *idle)
 {
 {
 	unsigned long secondary_startup_phys =
 	unsigned long secondary_startup_phys =
 		(unsigned long)virt_to_phys((void *)secondary_startup);
 		(unsigned long)virt_to_phys((void *)secondary_startup);