summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/mc9sdz60.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/mc9sdz60.c')
-rw-r--r--drivers/mfd/mc9sdz60.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/mfd/mc9sdz60.c b/drivers/mfd/mc9sdz60.c
index 9993efc..2cb38d9 100644
--- a/drivers/mfd/mc9sdz60.c
+++ b/drivers/mfd/mc9sdz60.c
@@ -16,7 +16,6 @@
*/
#include <common.h>
-#include <init.h>
#include <driver.h>
#include <xfuncs.h>
#include <errno.h>
@@ -139,11 +138,4 @@ static struct driver_d mc_driver = {
.name = DRIVERNAME,
.probe = mc_probe,
};
-
-static int mc_init(void)
-{
- i2c_driver_register(&mc_driver);
- return 0;
-}
-
-device_initcall(mc_init);
+device_i2c_driver(mc_driver);