]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
linux/compat.h: Define empty __initconst and __initdata
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 17 Sep 2023 14:09:39 +0000 (16:09 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 30 Sep 2023 22:08:28 +0000 (00:08 +0200)
Introduce two new empty macros used in various static tables in Linux.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/linux/compat.h

index 921e698f407c7deb57ad0046be6d3485c2dc1cd6..f8e3570d1ad2e5edd89d498d188d12718f0d1754 100644 (file)
@@ -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)