[PATCH] rtc: raspberrypi: do not mark the file comment as kernel-doc

Aryan Sinha sinha.aryan03 at gmail.com
Wed Nov 4 06:58:30 PST 2026


The file header opens with /** but is not kernel-doc, so kernel-doc tries
to attach it to the RTC_TIME define below and warns about it. Instead use a plain comment.

Signed-off-by: Aryan Sinha <sinha.aryan03 at gmail.com>
---
 drivers/rtc/rtc-raspberrypi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-raspberrypi.c b/drivers/rtc/rtc-raspberrypi.c
index 0547a96c6..657734b96 100644
--- a/drivers/rtc/rtc-raspberrypi.c
+++ b/drivers/rtc/rtc-raspberrypi.c
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
-/**
+/*
  * rtc-raspberrypi.c
  *
  * RTC driver using firmware mailbox
-- 
2.46.0




More information about the linux-arm-kernel mailing list