]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x
authorJean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
Wed, 16 Oct 2024 07:24:35 +0000 (09:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:05 +0000 (19:51 +0100)
commit8d4dcba03745fb7cd68c663161fabaadc8233f3f
tree036fb2c5874cf84aea7a086ee9b661070faa3d3a
parent8f61c0161f8e297efd5600ff9801129fa9a8b6af
m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x

[ Upstream commit f212140962c93cd5da43283a18e31681540fc23d ]

Fix a typo in the CONFIG_M5441x preprocessor condition, where the GPIO
register offset was incorrectly set to 8 instead of 0. This prevented
proper GPIO configuration for m5441x targets.

Fixes: bea8bcb12da0 ("m68knommu: Add support for the Coldfire m5441x.")
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
Signed-off-by: Greg Ungerer <gerg@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/m68k/include/asm/mcfgpio.h