diff options
Diffstat (limited to 'drivers/usb/musb/musb_dsps.c')
-rw-r--r-- | drivers/usb/musb/musb_dsps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 36a316ab37..bf676a19c6 100644 --- a/drivers/usb/musb/musb_dsps.c +++ b/drivers/usb/musb/musb_dsps.c @@ -357,7 +357,7 @@ static int dsps_probe(struct device_d *dev) struct dsps_glue *glue; int ret; - ret = dev_get_drvdata(dev, (unsigned long *)&wrp); + ret = dev_get_drvdata(dev, (const void **)&wrp); if (ret) return ret; @@ -445,7 +445,7 @@ static const struct dsps_musb_wrapper am33xx_driver_data = { static __maybe_unused struct of_device_id musb_dsps_dt_ids[] = { { .compatible = "ti,musb-am33xx", - .data = (unsigned long) &am33xx_driver_data, + .data = &am33xx_driver_data, }, { /* sentinel */ }, |