Skip to content
Commit d05469ee authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Simon Horman
Browse files

usb: renesas_usbhs: fix build warning if 64-bit architecture



This patch fixes the following warning if 64-bit architecture environment:

./drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  dparam->type = of_id ? (u32)of_id->data : 0;

Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
(cherry picked from commit 9ae7ce00

)
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 970cf8c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment