rtc: mc146818: Fix building on more architectures
authorTom Rini <trini@konsulko.com>
Mon, 4 Aug 2025 21:57:11 +0000 (15:57 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Aug 2025 17:03:03 +0000 (11:03 -0600)
commitd7daa9274b1f7fad8f24c6020dc6225a1585de2f
treeadcc3a2195d37bc018535c9b27dbf96bcaaf937d
parentb86ace06d37bb2ef97dbd79723089f3b46e065a2
rtc: mc146818: Fix building on more architectures

This driver makes calls to in8/out8(). On PowerPC these are separate and
real calls but elsewhere they are able to simply be wrappers to
inb/outb. Rework this logic to be able to build this driver on more
platforms.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/rtc/mc146818.c