From 8ad50582210c2aa6777bf58252ade9af7ea554b5 Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Tue, 18 Jul 2023 15:42:29 -0500 Subject: m68k/pci: Drop useless pcibios_setup() The PCI core supplies a weak pcibios_setup() implementation that is identical to the m68k implementation. Remove the m68k version since it is unnecessary. Signed-off-by: Bjorn Helgaas Signed-off-by: Greg Ungerer --- arch/m68k/kernel/pcibios.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/m68k/kernel/pcibios.c b/arch/m68k/kernel/pcibios.c index b0e110d3d2e6..9504eb19d73a 100644 --- a/arch/m68k/kernel/pcibios.c +++ b/arch/m68k/kernel/pcibios.c @@ -92,9 +92,3 @@ void pcibios_fixup_bus(struct pci_bus *bus) pci_write_config_byte(dev, PCI_LATENCY_TIMER, 32); } } - -char *pcibios_setup(char *str) -{ - return str; -} - -- cgit v1.2.3 From cf18ecd34f71dfd2815046d4c0d7b6439bb0cbde Mon Sep 17 00:00:00 2001 From: "hexingwei001@208suo.com" Date: Thu, 13 Jul 2023 16:39:22 +0800 Subject: m68k: coldfire: dma_timer: ERROR: "foo __init bar" should be "foo __init bar" Fix one occurrences of the checkpatch.pl error: ERROR: "foo __init bar" should be "foo __init bar" Signed-off-by: Xingwei He Signed-off-by: Greg Ungerer --- arch/m68k/coldfire/dma_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/coldfire/dma_timer.c b/arch/m68k/coldfire/dma_timer.c index cbb289439606..91e6728f51ed 100644 --- a/arch/m68k/coldfire/dma_timer.c +++ b/arch/m68k/coldfire/dma_timer.c @@ -48,7 +48,7 @@ static struct clocksource clocksource_cf_dt = { .flags = CLOCK_SOURCE_IS_CONTINUOUS, }; -static int __init init_cf_dt_clocksource(void) +static int __init init_cf_dt_clocksource(void) { /* * We setup DMA timer 0 in free run mode. This incrementing counter is -- cgit v1.2.3