usb: gadget: atmel_usba_udc: delete __init marker for probe
The probe function may be probed deferal and called after .init section has freed. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Родитель
0e1e5c47f7
Коммит
03d6a9c9ae
|
@ -1979,7 +1979,7 @@ static struct usba_ep * usba_udc_pdata(struct platform_device *pdev,
|
||||||
return eps;
|
return eps;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __init usba_udc_probe(struct platform_device *pdev)
|
static int usba_udc_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct resource *regs, *fifo;
|
struct resource *regs, *fifo;
|
||||||
struct clk *pclk, *hclk;
|
struct clk *pclk, *hclk;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче