Skip to content
Commit 26d81b29 authored by Miles Chen's avatar Miles Chen Committed by Greg Kroah-Hartman
Browse files

usb: gadget: at91_udc: fix incorrect print type



Fix a build error observed with ARCH=arm DEFCONFIG=allmodconfig build.

drivers/usb/gadget/udc/at91_udc.h:174:42: error: format '%d' expects argument of type 'int', but argument 3 has type 'struct gpio_desc *' [-Werror=format=]

Fixes: 4a555f2b ("usb: gadget: at91_udc: Convert to GPIO descriptors")
Reviewed-by: default avatarMacpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: default avatarMiles Chen <miles.chen@mediatek.com>
Link: https://lore.kernel.org/r/20220119020849.25732-1-miles.chen@mediatek.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2cc9b1c9
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