* drivers/rtc/rtc-m41t93.c:496: undefined reference to `devm_watchdog_register_device'
@ 2026-10-27 20:03 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-27 20:03 UTC (permalink / raw)
To: Akhilesh Patil; +Cc: oe-kbuild-all, linux-kernel, Alexandre Belloni
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 83f32c773255720a661aa45d83e36278135f23f5
commit: 15ec2ce19962b61576c8bf25bc129fc61a653c2e rtc: m41t93: Add watchdog support
date: 4 months ago
config: powerpc64-randconfig-r2109-20261027 (https://download.01.org/0day-ci/archive/20261027/202610272125.Me30O4PA-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261027/202610272125.Me30O4PA-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Fixes: 15ec2ce19962 ("rtc: m41t93: Add watchdog support")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610272125.Me30O4PA-lkp@intel.com/
All errors (new ones prefixed by >>):
powerpc64-linux-ld: drivers/rtc/rtc-m41t93.o: in function `m41t93_probe':
>> drivers/rtc/rtc-m41t93.c:496: undefined reference to `devm_watchdog_register_device'
vim +496 drivers/rtc/rtc-m41t93.c
481
482 static int m41t93_watchdog_register(struct device *dev, struct m41t93_data *m41t93)
483 {
484 int ret;
485
486 m41t93->wdd.parent = dev;
487 m41t93->wdd.info = &m41t93_wdt_info;
488 m41t93->wdd.ops = &m41t93_watchdog_ops;
489 m41t93->wdd.min_timeout = 0;
490 m41t93->wdd.max_timeout = 10;
491 m41t93->wdd.timeout = 3; /* Default timeout is 3 sec */
492 m41t93->wdd.status = WATCHDOG_NOWAYOUT_INIT_STATUS;
493
494 watchdog_set_drvdata(&m41t93->wdd, m41t93);
495
> 496 ret = devm_watchdog_register_device(dev, &m41t93->wdd);
497 if (ret) {
498 dev_warn(dev, "Failed to register watchdog\n");
499 return ret;
500 }
501
502 /* Disable watchdog at start */
503 ret = m41t93_wdt_stop(&m41t93->wdd);
504
505 return ret;
506 }
507 #endif
508
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-27 20:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 20:03 drivers/rtc/rtc-m41t93.c:496: undefined reference to `devm_watchdog_register_device' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®