aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarek Vasut2023-09-17 16:09:39 +0200
committerMarek Vasut2023-10-01 00:08:28 +0200
commitb3c68239f2055161f1355f5e43f138b5ff066542 (patch)
tree014c93a7b83502d97800abd4c8c65ab6830ebf7e /include/linux
parentbad82145b2ac79186cf8d3a09edc2c17f17ed1ea (diff)
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>
Diffstat (limited to 'include/linux')
-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 921e698f407..f8e3570d1ad 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)