Merge tag '6.6-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6
[sfrench/cifs-2.6.git] / drivers / phy / broadcom / phy-bcm-ns-usb3.c
index bbfad209c890fc255f4f87ff70a932fa4fb7c98b..69584b685edbb7cc1371e6d6f61ce8f313b8c918 100644 (file)
@@ -206,7 +206,7 @@ static int bcm_ns_usb3_mdio_probe(struct mdio_device *mdiodev)
        of_id = of_match_device(bcm_ns_usb3_id_table, dev);
        if (!of_id)
                return -EINVAL;
-       usb3->family = (enum bcm_ns_family)of_id->data;
+       usb3->family = (uintptr_t)of_id->data;
 
        syscon_np = of_parse_phandle(dev->of_node, "usb3-dmp-syscon", 0);
        err = of_address_to_resource(syscon_np, 0, &res);