diff options
Diffstat (limited to 'drivers/video/tc358767.c')
-rw-r--r-- | drivers/video/tc358767.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/video/tc358767.c b/drivers/video/tc358767.c index 125e8236c1..e64dde1ddf 100644 --- a/drivers/video/tc358767.c +++ b/drivers/video/tc358767.c @@ -20,7 +20,6 @@ */ #include <common.h> -#include <init.h> #include <driver.h> #include <malloc.h> #include <errno.h> @@ -1434,9 +1433,4 @@ static struct driver_d tc_driver = { .name = "tc358767", .probe = tc_probe, }; - -static int tc_init(void) -{ - return i2c_driver_register(&tc_driver); -} -device_initcall(tc_init); +device_i2c_driver(tc_driver); |