rtc: mpc5121: replace in_8/out_8 with generic accessors
PATCH 1/1 rtc: mpc5121: replace in_8/out_8 with generic accessors
Convert ppc4xx-specific in_8/out_8, in_be16/out_be16 and in_be32/ out_be32 to the portable ioread8/iowrite8, ioread16be/iowrite16be and ioread32be/iowrite32be respectively.
Add COMPILE_TEST as a result for greater compile coverage.
Assisted-by opencode:big-pickle
Signed-off-by Rosen Penev <[email protected]>
--- drivers/rtc/Kconfig | 2 +- drivers/rtc/rtc-mpc5121.c | 80 +++++++++++++++++++-------------------- 2 files changed, 41 insertions(+), 41 deletions(-)
drivers/rtc/Kconfig +1 -1
@@ -1779,7 +1779,7 @@ config RTC_DRV_MC13XXX config RTC_DRV_MPC5121 tristate "Freescale MPC5121 built-in RTC" - depends on PPC_MPC512x || PPC_MPC52xx + depends on PPC_MPC512x || PPC_MPC52xx || COMPILE_TEST help If you say yes here you will get support for the built-in RTC on MPC5121 or on MPC5200.
drivers/rtc/rtc-mpc5121.c +40 -40
167 lines not on this page · raw message
Signature · 1 line
2.54.0