Re: [PATCH] rtc: bd70528: fix link error

2019-08-08 Thread Arnd Bergmann
On Thu, Aug 8, 2019 at 9:53 PM Vaittinen, Matti wrote: > On Thu, 2019-08-08 at 10:29 +0800, Yuehaibing wrote: > > On 2019/7/9 13:25, Vaittinen, Matti wrote: > > > awkward at first sight but indeed - depends on BD70528_WATCHDOG > > > disallows BD70528_WATCHDOG=m with RTC_DRV_BD70528=y while > > > !

Re: [PATCH] rtc: bd70528: fix link error

2019-08-08 Thread Vaittinen, Matti
Hello All, On Thu, 2019-08-08 at 10:29 +0800, Yuehaibing wrote: > On 2019/7/9 13:25, Vaittinen, Matti wrote: > > Hello Arnd, > > > > (Added Randy who also sent a patch to fix this) > > > > On Mon, 2019-07-08 at 18:10 +0200, Arnd Bergmann wrote: > > > On Mon, Jul 8, 2019 at 3:24 PM Vaittinen, Mat

Re: [PATCH] rtc: bd70528: fix link error

2019-08-07 Thread Yuehaibing
On 2019/7/9 13:25, Vaittinen, Matti wrote: > Hello Arnd, > > (Added Randy who also sent a patch to fix this) > > On Mon, 2019-07-08 at 18:10 +0200, Arnd Bergmann wrote: >> On Mon, Jul 8, 2019 at 3:24 PM Vaittinen, Matti >> wrote: >> >>> On Mon, 2019-07-08 at 14:41 +0200, Arnd Bergmann wrote: >>>

Re: [PATCH] rtc: bd70528: fix link error

2019-07-08 Thread Vaittinen, Matti
Hello Arnd, (Added Randy who also sent a patch to fix this) On Mon, 2019-07-08 at 18:10 +0200, Arnd Bergmann wrote: > On Mon, Jul 8, 2019 at 3:24 PM Vaittinen, Matti > wrote: > > > On Mon, 2019-07-08 at 14:41 +0200, Arnd Bergmann wrote: > > > With CONFIG_BD70528_WATCHDOG=m, a built-in rtc drive

Re: [PATCH] rtc: bd70528: fix link error

2019-07-08 Thread Arnd Bergmann
On Mon, Jul 8, 2019 at 3:24 PM Vaittinen, Matti wrote: > On Mon, 2019-07-08 at 14:41 +0200, Arnd Bergmann wrote: > > With CONFIG_BD70528_WATCHDOG=m, a built-in rtc driver cannot call > > into the low-level functions that are part of the watchdog module: > > > > drivers/rtc/rtc-bd70528.o: In funct

Re: [PATCH] rtc: bd70528: fix link error

2019-07-08 Thread Vaittinen, Matti
Hello Arnd, Thanks for taking a look on this! On Mon, 2019-07-08 at 14:41 +0200, Arnd Bergmann wrote: > With CONFIG_BD70528_WATCHDOG=m, a built-in rtc driver cannot call > into the low-level functions that are part of the watchdog module: > > drivers/rtc/rtc-bd70528.o: In function `bd70528_set_t

[PATCH] rtc: bd70528: fix link error

2019-07-08 Thread Arnd Bergmann
With CONFIG_BD70528_WATCHDOG=m, a built-in rtc driver cannot call into the low-level functions that are part of the watchdog module: drivers/rtc/rtc-bd70528.o: In function `bd70528_set_time': rtc-bd70528.c:(.text+0x22c): undefined reference to `bd70528_wdt_lock' rtc-bd70528.c:(.text+0x2a8): undefi