From 08abfa5a161e1b6e6244cb2090b0530bc0920798 Mon Sep 17 00:00:00 2001 From: Petr Pavlu Date: Fri, 2 Oct 2026 10:31:02 +0200 Subject: drivers: Replace __MODULE_STRING() with __stringify() __MODULE_STRING() has been an alias for __stringify() since "[PATCH] MODULE_PARM support for older modules" [1] in 2002-12. That change also moved it to the graveyard section at the end of linux/module.h Replace the remaining uses of __MODULE_STRING() with __stringify() in preparation for its removal. Link: https://git.kernel.org/tglx/history/c/136839a1b4 [1] Acked-by: Greg Kroah-Hartman Acked-by: Andi Shyti Acked-by: Ian Abbott Acked-by: Alexandre Belloni Acked-by: Mika Westerberg Reviewed-by: Aleksandr Loktionov Signed-off-by: Petr Pavlu --- drivers/rtc/rtc-ds1374.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/rtc') diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c index 8c247215d611..2ed6777e7035 100644 --- a/drivers/rtc/rtc-ds1374.c +++ b/drivers/rtc/rtc-ds1374.c @@ -26,6 +26,7 @@ #include #include #include +#include #ifdef CONFIG_RTC_DRV_DS1374_WDT #include #include @@ -381,7 +382,7 @@ MODULE_PARM_DESC(wdt_margin, "Watchdog timeout in seconds (default 32s)"); static bool nowayout = WATCHDOG_NOWAYOUT; module_param(nowayout, bool, 0); MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default =" - __MODULE_STRING(WATCHDOG_NOWAYOUT)")"); + __stringify(WATCHDOG_NOWAYOUT)")"); static const struct watchdog_info ds1374_wdt_info = { .identity = "DS1374 Watchdog", -- cgit v1.2.3