Re: [PATCH v2] macintosh: via-pmu and via-cuda need RTC_LIB

2022-05-24 Thread Michael Ellerman
On Sun, 10 Apr 2022 09:10:35 -0700, Randy Dunlap wrote: > Fix build when RTC_LIB is not set/enabled. > Eliminates these build errors: > > m68k-linux-ld: drivers/macintosh/via-pmu.o: in function `pmu_set_rtc_time': > drivers/macintosh/via-pmu.c:1769: undefined reference to `rtc_tm_to_time64' > m68k

Re: [PATCH v2] macintosh: via-pmu and via-cuda need RTC_LIB

2022-04-11 Thread Arnd Bergmann
On Sun, Apr 10, 2022 at 6:10 PM Randy Dunlap wrote: > > Fix build when RTC_LIB is not set/enabled. > Eliminates these build errors: > > m68k-linux-ld: drivers/macintosh/via-pmu.o: in function `pmu_set_rtc_time': > drivers/macintosh/via-pmu.c:1769: undefined reference to `rtc_tm_to_time64' > m68k-l

[PATCH v2] macintosh: via-pmu and via-cuda need RTC_LIB

2022-04-10 Thread Randy Dunlap
Fix build when RTC_LIB is not set/enabled. Eliminates these build errors: m68k-linux-ld: drivers/macintosh/via-pmu.o: in function `pmu_set_rtc_time': drivers/macintosh/via-pmu.c:1769: undefined reference to `rtc_tm_to_time64' m68k-linux-ld: drivers/macintosh/via-cuda.o: in function `cuda_set_rtc_t