]> Git Repo - u-boot.git/blobdiff - drivers/clk/clk_pic32.c
Merge tag 'dm-pull-14dec20' of git://git.denx.de/u-boot-dm into next
[u-boot.git] / drivers / clk / clk_pic32.c
index fdf95a12da512fbf75233a3d1a244b0ed4d9172a..5a10d4640d7f43cc8f2764926f64038bfda783fc 100644 (file)
@@ -8,9 +8,12 @@
 #include <clk-uclass.h>
 #include <dm.h>
 #include <div64.h>
+#include <time.h>
 #include <wait_bit.h>
 #include <dm/lists.h>
 #include <asm/io.h>
+#include <linux/bitops.h>
+#include <linux/bug.h>
 #include <mach/pic32.h>
 #include <dt-bindings/clock/microchip,clock.h>
 
@@ -418,8 +421,7 @@ U_BOOT_DRIVER(pic32_clk) = {
        .name           = "pic32_clk",
        .id             = UCLASS_CLK,
        .of_match       = pic32_clk_ids,
-       .flags          = DM_FLAG_PRE_RELOC,
        .ops            = &pic32_pic32_clk_ops,
        .probe          = pic32_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct pic32_clk_priv),
+       .priv_auto      = sizeof(struct pic32_clk_priv),
 };
This page took 0.025072 seconds and 4 git commands to generate.