diff options
Diffstat (limited to 'drivers/rtc/rtc-abracon.c')
-rw-r--r-- | drivers/rtc/rtc-abracon.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/rtc/rtc-abracon.c b/drivers/rtc/rtc-abracon.c index 02de2f1063..571909bf71 100644 --- a/drivers/rtc/rtc-abracon.c +++ b/drivers/rtc/rtc-abracon.c @@ -10,7 +10,6 @@ */ #include <common.h> -#include <init.h> #include <driver.h> #include <xfuncs.h> #include <errno.h> @@ -118,9 +117,4 @@ static struct driver_d abracon_driver = { .probe = abracon_probe, .id_table = abracon_id, }; - -static int __init abracon_init(void) -{ - return i2c_driver_register(&abracon_driver); -} -device_initcall(abracon_init); +device_i2c_driver(abracon_driver); |