summaryrefslogtreecommitdiffstats
path: root/drivers/video/tc358767.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tc358767.c')
-rw-r--r--drivers/video/tc358767.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/video/tc358767.c b/drivers/video/tc358767.c
index 125e823..e64dde1 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);