usb: renesas_usbhs: fix build warning if 64-bit architecture
[deliverable/linux.git] / drivers / usb / renesas_usbhs / common.c
index 7b98e1d9194cb3571452c7143603f4e9d9966244..0ce398c5482e2c50e23b63aac9486365f2dc48e0 100644 (file)
@@ -493,7 +493,7 @@ static struct renesas_usbhs_platform_info *usbhs_parse_dt(struct device *dev)
                return NULL;
 
        dparam = &info->driver_param;
-       dparam->type = of_id ? (u32)of_id->data : 0;
+       dparam->type = of_id ? (uintptr_t)of_id->data : 0;
        if (!of_property_read_u32(dev->of_node, "renesas,buswait", &tmp))
                dparam->buswait_bwait = tmp;
        gpio = of_get_named_gpio_flags(dev->of_node, "renesas,enable-gpio", 0,
This page took 0.023701 seconds and 5 git commands to generate.