Skip to content

Commit 1588632

Browse files
committed
Merge tag 'm68knommu-for-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
Pull m68knommu fixes from Greg Ungerer: - spelling in comment - compilation when flexcan driver enabled - sparse warning * tag 'm68knommu-for-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: m68k: Fix syntax errors in comments m68k: coldfire: make symbol m523x_clk_lookup static m68k: coldfire/device.c: protect FLEXCAN blocks
2 parents 5318b98 + 472e68d commit 1588632

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

arch/m68k/coldfire/device.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ static struct platform_device mcf_esdhc = {
581581
};
582582
#endif /* MCFSDHC_BASE */
583583

584-
#if IS_ENABLED(CONFIG_CAN_FLEXCAN)
584+
#ifdef MCFFLEXCAN_SIZE
585585

586586
#include <linux/can/platform/flexcan.h>
587587

@@ -620,7 +620,7 @@ static struct platform_device mcf_flexcan0 = {
620620
.resource = mcf5441x_flexcan0_resource,
621621
.dev.platform_data = &mcf5441x_flexcan_info,
622622
};
623-
#endif /* IS_ENABLED(CONFIG_CAN_FLEXCAN) */
623+
#endif /* MCFFLEXCAN_SIZE */
624624

625625
static struct platform_device *mcf_devices[] __initdata = {
626626
&mcf_uart,
@@ -657,7 +657,7 @@ static struct platform_device *mcf_devices[] __initdata = {
657657
#ifdef MCFSDHC_BASE
658658
&mcf_esdhc,
659659
#endif
660-
#if IS_ENABLED(CONFIG_CAN_FLEXCAN)
660+
#ifdef MCFFLEXCAN_SIZE
661661
&mcf_flexcan0,
662662
#endif
663663
};

arch/m68k/coldfire/intc-2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* family, the 5270, 5271, 5274, 5275, and the 528x family which have two such
88
* controllers, and the 547x and 548x families which have only one of them.
99
*
10-
* The external 7 fixed interrupts are part the the Edge Port unit of these
10+
* The external 7 fixed interrupts are part of the Edge Port unit of these
1111
* ColdFire parts. They can be configured as level or edge triggered.
1212
*
1313
* (C) Copyright 2009-2011, Greg Ungerer <[email protected]>

arch/m68k/coldfire/m523x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
DEFINE_CLK(pll, "pll.0", MCF_CLK);
2929
DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
3030

31-
struct clk_lookup m523x_clk_lookup[] = {
31+
static struct clk_lookup m523x_clk_lookup[] = {
3232
CLKDEV_INIT(NULL, "pll.0", &clk_pll),
3333
CLKDEV_INIT(NULL, "sys.0", &clk_sys),
3434
CLKDEV_INIT("mcfpit.0", NULL, &clk_pll),

0 commit comments

Comments
 (0)