aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-09-17 16:09:39 +0200
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-10-01 00:08:28 +0200
commitb3c68239f2055161f1355f5e43f138b5ff066542 (patch)
tree014c93a7b83502d97800abd4c8c65ab6830ebf7e
parentbad82145b2ac79186cf8d3a09edc2c17f17ed1ea (diff)
downloadu-boot-b3c68239f2055161f1355f5e43f138b5ff066542.zip
u-boot-b3c68239f2055161f1355f5e43f138b5ff066542.tar.gz
u-boot-b3c68239f2055161f1355f5e43f138b5ff066542.tar.bz2
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 <marek.vasut+renesas@mailbox.org> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/linux/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 921e698..f8e3570 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)