summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-08-05 12:49:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-08-05 12:49:58 +0200
commitfeefc3ef3b4d201845480b17cb9e6c6729eb1a96 (patch)
tree355bae733a4bb876425a06549b8e1bdd393a5020 /include/driver.h
parent9ebb0554cd0e19f3757f4f5eea723eaf3b6dab78 (diff)
parentae5eeb06ed37914d6a47a1f414a9165763ac5677 (diff)
downloadbarebox-feefc3ef3b4d201845480b17cb9e6c6729eb1a96.tar.gz
barebox-feefc3ef3b4d201845480b17cb9e6c6729eb1a96.tar.xz
Merge branch 'for-next/mtd'
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 d15c9dd7d4..cc48b134d1 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -415,6 +415,8 @@ int platform_driver_register(struct driver_d *drv);
} \
level##_initcall(drv##_register)
+#define coredevice_platform_driver(drv) \
+ register_driver_macro(coredevice,platform,drv)
#define device_platform_driver(drv) \
register_driver_macro(device,platform,drv)
#define console_platform_driver(drv) \