usb: cdns3: Changed type of gadget_dev in cdns structure
authorPawel Laszczak <pawell@cadence.com>
Mon, 7 Dec 2020 10:32:22 +0000 (11:32 +0100)
committerPeter Chen <peter.chen@nxp.com>
Tue, 29 Dec 2020 04:36:13 +0000 (12:36 +0800)
commitac5bca142759db36bbff2e0834c37fe956171233
tree352401100b452813b29ddc28539bcd215645ecf0
parent0b490046d8d7c035177ca4f5380f0c3275c4697d
usb: cdns3: Changed type of gadget_dev in cdns structure

Patch changes the type for gadget_dev pointer in cdns structure from
pointer to cdns3_device structure to void pointer.
This filed is in reusable code and after this change it will be used to
point to both cdns3_device or cdnsp_device objects.

Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Tested-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/cdns3/core.h