m68k/mac: Skip VIA port setup unless RTC is connected
authorFinn Thain <fthain@telegraphics.com.au>
Sat, 22 Dec 2018 02:18:01 +0000 (13:18 +1100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 21 Jan 2019 09:36:53 +0000 (10:36 +0100)
commit6a93207b7de55255209978fabeddc3cdf261e4db
tree59d6421ab6e3b684c13d9c6930b709daf4e84931
parent8f5ec4667db9e3ab63acf875273580ddc0fb46af
m68k/mac: Skip VIA port setup unless RTC is connected

Those Mac models which don't connect their RTC to VIA1 port B probably
have something else connected to those pins. Just leave them the way we
found them. Make the port B setup conditional on via_type, to match the
RTC accessors in arch/m68k/mac/misc.c.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mac/via.c