Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1a7c4f2 authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi
Browse files

usb: gadget: lpc32xx: delete __init marker for probe



The probe function may be probed deferal and called after .init
section has freed.

Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent da150573
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3036,7 +3036,7 @@ struct lpc32xx_usbd_cfg lpc32xx_usbddata = {


static u64 lpc32xx_usbd_dmamask = ~(u32) 0x7F;
static u64 lpc32xx_usbd_dmamask = ~(u32) 0x7F;


static int __init lpc32xx_udc_probe(struct platform_device *pdev)
static int lpc32xx_udc_probe(struct platform_device *pdev)
{
{
	struct device *dev = &pdev->dev;
	struct device *dev = &pdev->dev;
	struct lpc32xx_udc *udc;
	struct lpc32xx_udc *udc;