driver: add postcore_platform_driver
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5e8bf4f5d9
commit
22f4e94010
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue