summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-06-03 22:19:59 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-07 09:04:44 +0200
commit001b421ad9bb85b63e38d47aa21c7dfdcc0704cd (patch)
tree1c88c9f2d408beee71e52fe4b1738596bd458a1f /include/driver.h
parented6cb64c24540475763257d651d83804506d419b (diff)
downloadbarebox-001b421ad9bb85b63e38d47aa21c7dfdcc0704cd.tar.gz
barebox-001b421ad9bb85b63e38d47aa21c7dfdcc0704cd.tar.xz
drivers: Introduce late_platform_driver()
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/driver.h')
-rw-r--r--include/driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h
index ba1047392d..9cccf7d8a7 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);