From b3c68239f2055161f1355f5e43f138b5ff066542 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 17 Sep 2023 16:09:39 +0200 Subject: [PATCH] linux/compat.h: Define empty __initconst and __initdata Introduce two new empty macros used in various static tables in Linux. Signed-off-by: Marek Vasut Reviewed-by: Tom Rini --- include/linux/compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/compat.h b/include/linux/compat.h index 921e698f40..f8e3570d1a 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -271,6 +271,8 @@ typedef int wait_queue_head_t; #define __devinit #define __devinitdata #define __devinitconst +#define __initconst +#define __initdata #define kthread_create(...) __builtin_return_address(0) #define kthread_stop(...) do { } while (0) -- 2.39.5