diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-03-10 10:41:32 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-14 07:15:44 +0100 |
commit | 54cbf39fca9e58c15a9db76f65be989cec7c99c0 (patch) | |
tree | 26a8e643976f3ecd8add6a78b573752a9b1b0949 /include/driver.h | |
parent | aeaeb40ccf8724c58837ce4817a499f46ebca4a4 (diff) | |
download | barebox-54cbf39fca9e58c15a9db76f65be989cec7c99c0.tar.gz barebox-54cbf39fca9e58c15a9db76f65be989cec7c99c0.tar.xz |
Introduce console_platform_driver() macro and use it for serial drivers
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
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 138eab4190..8598a39af2 100644 --- a/include/driver.h +++ b/include/driver.h @@ -408,6 +408,8 @@ int platform_driver_register(struct driver_d *drv); #define device_platform_driver(drv) \ register_driver_macro(device,platform,drv) +#define console_platform_driver(drv) \ + register_driver_macro(console,platform,drv) int platform_device_register(struct device_d *new_device); |