Re: [PATCH] macintosh: fix via-pmu and via-cuda build errors

2022-04-07 Thread Finn Thain
On Thu, 7 Apr 2022, Christophe Leroy wrote: > Le 07/04/2022 à 05:16, Randy Dunlap a écrit : > > > > > > On 4/6/22 19:37, Randy Dunlap wrote: > >> When CONFIG_INPUT=m, the input_*() family of functions is not > >> available to builtin drivers. > >> > >> When CONFIG_RTC_CLASS is not set, rtc_tm_to

Re: [PATCH] macintosh: fix via-pmu and via-cuda build errors

2022-04-07 Thread Finn Thain
On Wed, 6 Apr 2022, Randy Dunlap wrote: > When CONFIG_RTC_CLASS is not set, rtc_tm_to_time64() is not defined. > > ... > > m68k-linux-ld: drivers/macintosh/via-pmu.o: in function `pmu_set_rtc_time': > drivers/macintosh/via-pmu.c:1758: undefined reference to `rtc_tm_to_time64' > m68k-linux-ld: dr

Re: [PATCH] macintosh: fix via-pmu and via-cuda build errors

2022-04-07 Thread Christophe Leroy
Le 07/04/2022 à 04:37, Randy Dunlap a écrit : > When CONFIG_INPUT=m, the input_*() family of functions is not > available to builtin drivers. > > When CONFIG_RTC_CLASS is not set, rtc_tm_to_time64() is not defined. > > Fix multiple build errors by making these Kconfig symbols required by > ADB_

Re: [PATCH] macintosh: fix via-pmu and via-cuda build errors

2022-04-07 Thread Christophe Leroy
Le 07/04/2022 à 05:16, Randy Dunlap a écrit : > > > On 4/6/22 19:37, Randy Dunlap wrote: >> When CONFIG_INPUT=m, the input_*() family of functions is not >> available to builtin drivers. >> >> When CONFIG_RTC_CLASS is not set, rtc_tm_to_time64() is not defined. >> >> Fix multiple build errors b

Re: [PATCH] macintosh: fix via-pmu and via-cuda build errors

2022-04-06 Thread Randy Dunlap
On 4/6/22 19:37, Randy Dunlap wrote: > When CONFIG_INPUT=m, the input_*() family of functions is not > available to builtin drivers. > > When CONFIG_RTC_CLASS is not set, rtc_tm_to_time64() is not defined. > > Fix multiple build errors by making these Kconfig symbols required by > ADB_CUDA (RT

[PATCH] macintosh: fix via-pmu and via-cuda build errors

2022-04-06 Thread Randy Dunlap
When CONFIG_INPUT=m, the input_*() family of functions is not available to builtin drivers. When CONFIG_RTC_CLASS is not set, rtc_tm_to_time64() is not defined. Fix multiple build errors by making these Kconfig symbols required by ADB_CUDA (RTC_CLASS) and ADB_PMU (RTC_CLASS and INPUT). m68k-linu