]> 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>
Thu, 5 Dec 2024 09:59:36 +0000 (10:59 +0100)
commit555de585e34659b81f25536d27dacce046290b8c
treebc1b8b3a18729052580769be7418259590f5dde6
parenta764b6fa1daf8ecf0510dc66c9d9b152b51ce089
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