Merge https://source.denx.de/u-boot/custodians/u-boot-sh
[platform/kernel/u-boot.git] / drivers / phy / bcm6358-usbh-phy.c
index f0fda02..bfdcfb0 100644 (file)
 #include <common.h>
 #include <dm.h>
 #include <generic-phy.h>
+#include <log.h>
 #include <malloc.h>
 #include <reset.h>
 #include <asm/io.h>
 #include <dm/device.h>
+#include <linux/bitops.h>
 
 /* USBH Swap Control register */
 #define USBH_SWAP_REG          0x00
@@ -85,6 +87,6 @@ U_BOOT_DRIVER(bcm6358_usbh) = {
        .id = UCLASS_PHY,
        .of_match = bcm6358_usbh_ids,
        .ops = &bcm6358_usbh_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6358_usbh_priv),
+       .priv_auto      = sizeof(struct bcm6358_usbh_priv),
        .probe = bcm6358_usbh_probe,
 };