diff mbox series

rtc: pl031: document struct pl031_vendor_data members

Message ID 20250305221659.1153495-1-alexandre.belloni@bootlin.com (mailing list archive)
State New
Headers show
Series rtc: pl031: document struct pl031_vendor_data members | expand

Commit Message

Alexandre Belloni March 5, 2025, 10:16 p.m. UTC
From: Alexandre Belloni <alexandre.belloni@bootlin.com>

Document the range related members of struct pl031_vendor_data.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503011015.SYvdddTc-lkp@intel.com/
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/rtc-pl031.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Linus Walleij March 6, 2025, 9:12 a.m. UTC | #1
On Wed, Mar 5, 2025 at 11:17 PM <alexandre.belloni@bootlin.com> wrote:

> From: Alexandre Belloni <alexandre.belloni@bootlin.com>
>
> Document the range related members of struct pl031_vendor_data.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202503011015.SYvdddTc-lkp@intel.com/
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/rtc/rtc-pl031.c b/drivers/rtc/rtc-pl031.c
index 47bfc5395e59..0401c51191e5 100644
--- a/drivers/rtc/rtc-pl031.c
+++ b/drivers/rtc/rtc-pl031.c
@@ -74,6 +74,8 @@ 
  * @st_weekday: if this is an ST Microelectronics silicon version that need
  *	the weekday fix
  * @irqflags: special IRQ flags per variant
+ * @range_min: minimum date/time supported by the RTC
+ * @range_maximum: maximum date/time supported by the RTC
  */
 struct pl031_vendor_data {
 	struct rtc_class_ops ops;