diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-10-14 12:46:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-10-14 12:46:27 +0200 |
commit | efab7dbedba741db63c200a5f12f19f82178d05c (patch) | |
tree | 1df83130dde3c3b7a6b54c270c0c034eda67c614 /include/driver.h | |
parent | b7d1cc08cc3842697b5148d1a9d244c2c19dc834 (diff) | |
parent | 13f237e2d84c875d9f4bcbdfe513a18a269ceaee (diff) | |
download | barebox-efab7dbedba741db63c200a5f12f19f82178d05c.tar.gz barebox-efab7dbedba741db63c200a5f12f19f82178d05c.tar.xz |
Merge branch 'for-next/driver-macro' into master
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h index 14220431f2..e2886d051d 100644 --- a/include/driver.h +++ b/include/driver.h @@ -401,6 +401,8 @@ int platform_driver_register(struct driver_d *drv); } \ level##_initcall(drv##_register) +#define core_platform_driver(drv) \ + register_driver_macro(core,platform,drv) #define postcore_platform_driver(drv) \ register_driver_macro(postcore,platform,drv) #define coredevice_platform_driver(drv) \ @@ -409,6 +411,10 @@ 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 mem_platform_driver(drv) \ + register_driver_macro(mem,platform,drv) +#define fs_platform_driver(drv) \ + register_driver_macro(fs,platform,drv) #define late_platform_driver(drv) \ register_driver_macro(late,platform,drv) |