mediatek: filogic: restore non-const type in pinctrl-mt7988 driver
authorDaniel Golle <daniel@makrotopia.org>
Thu, 3 Aug 2023 22:30:25 +0000 (23:30 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 7 Aug 2023 15:48:08 +0000 (16:48 +0100)
commitad2fa6bc9c65eb1834afabaa2245dc941fa0ddb5
tree54b75f393effeb119d701351ea00a59bd69846bf
parentc072069fa74c6566c9c42fbc240bfb19e4c9ba7c
mediatek: filogic: restore non-const type in pinctrl-mt7988 driver

When building with Linux 5.15 the 'const' type results in warnings.
Restore the original non-const type in those cases.

Fixes: 36d0aa9c2d ("mediatek: filogic: sync pinctrl-mt7988 with MediaTek SDK")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 1eb67cb0704a61f49d9be9f88aecbce1d881f8c9)
target/linux/mediatek/files-5.15/drivers/pinctrl/mediatek/pinctrl-mt7988.c