#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
.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,
};