diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2015-01-13 07:33:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-02-04 15:49:59 +0100 |
commit | 22f4e94010968a28cb9522a713786839985675ba (patch) | |
tree | 86f1fd0a3edaf1b2037e8c26f87cafeb937611f3 /include/driver.h | |
parent | 5e8bf4f5d9df9341fdb3d2e5f5b5e8399631ebcd (diff) | |
download | barebox-22f4e94010968a28cb9522a713786839985675ba.tar.gz barebox-22f4e94010968a28cb9522a713786839985675ba.tar.xz |
driver: add postcore_platform_driver
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h index 46aae4f433..76fd4b1720 100644 --- a/include/driver.h +++ b/include/driver.h @@ -409,6 +409,8 @@ int platform_driver_register(struct driver_d *drv); } \ level##_initcall(drv##_register) +#define postcore_platform_driver(drv) \ + register_driver_macro(postcore,platform,drv) #define coredevice_platform_driver(drv) \ register_driver_macro(coredevice,platform,drv) #define device_platform_driver(drv) \ |