[POWERPC] Fix sparse warnings in arch/powerpc/kernel
Make a few things static in lparcfg.c Make init and exit routines static in rtas_flash.c Make things static in rtas_pci.c Make some functions static in rtas.c Make fops static in rtas-proc.c Remove unneeded extern for do_gtod in smp.c Make clocksource_init() static in time.c Make last_tick_len and ticklen_to_xs static in time.c Move the declaration of the pvr per-cpu into smp.h Make kexec_smp_down() and kexec_stack static in machine_kexec_64.c Don't return void in arch_teardown_msi_irqs() in msi.c Move declaration of GregorianDay()into asm/time.h Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
1c8950ff87
commit
1c21a2937b
@@ -155,12 +155,12 @@ static int rtas_pci_write_config(struct pci_bus *bus,
|
||||
return PCIBIOS_DEVICE_NOT_FOUND;
|
||||
}
|
||||
|
||||
struct pci_ops rtas_pci_ops = {
|
||||
static struct pci_ops rtas_pci_ops = {
|
||||
.read = rtas_pci_read_config,
|
||||
.write = rtas_pci_write_config,
|
||||
};
|
||||
|
||||
int is_python(struct device_node *dev)
|
||||
static int is_python(struct device_node *dev)
|
||||
{
|
||||
const char *model = of_get_property(dev, "model", NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user