[PATCH 7/7] barebox-wrapper: define MODULE_DEVICE_TABLE

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jan 9 07:11:52 PST 2023


We may elect to act on this in the future, but for now, define the
macro, so it can be left in when porting kernel code.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 include/linux/barebox-wrapper.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/barebox-wrapper.h b/include/linux/barebox-wrapper.h
index 83fa9223decc..8f2473abe8aa 100644
--- a/include/linux/barebox-wrapper.h
+++ b/include/linux/barebox-wrapper.h
@@ -20,6 +20,7 @@ static inline void vfree(const void *addr)
 #define MODULE_DESCRIPTION(x)
 #define MODULE_LICENSE(x)
 #define MODULE_ALIAS(x)
+#define MODULE_DEVICE_TABLE(bus, table)
 
 #define __user
 #define __init
-- 
2.30.2




More information about the barebox mailing list