[PATCH v2 3/7] drivers: Introduce late_platform_driver()

Andrey Smirnov andrew.smirnov at gmail.com
Mon Jun 3 22:19:59 PDT 2019


Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
---
 include/driver.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/driver.h b/include/driver.h
index fe2d30ab5..300603fa3 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -420,6 +420,8 @@ int platform_driver_register(struct driver_d *drv);
 	register_driver_macro(device,platform,drv)
 #define console_platform_driver(drv)	\
 	register_driver_macro(console,platform,drv)
+#define late_platform_driver(drv)	\
+	register_driver_macro(late,platform,drv)
 
 int platform_device_register(struct device_d *new_device);
 
-- 
2.21.0




More information about the barebox mailing list