summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-07-09 13:56:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-23 16:25:14 +0200
commit5cd4fd8fbaadb77bb551505ce276116b03af37f3 (patch)
tree552d58179a709ef49e72cfc441a882cdd0cda0d5 /include/driver.h
parent322d96e29dd160a3b3824decfa8765513ce7c4e3 (diff)
downloadbarebox-5cd4fd8fbaadb77bb551505ce276116b03af37f3.tar.gz
barebox-5cd4fd8fbaadb77bb551505ce276116b03af37f3.tar.xz
dma: apbh: Turn into a driver
This converts the apbh driver into a real driver. 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 b18318fe0c..79839460f1 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -414,6 +414,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) \