usb: gadget: r8a66597-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:
parent
c440380751
commit
dad833823f
1 changed files with 2 additions and 2 deletions
|
@ -1839,7 +1839,7 @@ static void nop_completion(struct usb_ep *ep, struct usb_request *r)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __init r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597,
|
static int r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597,
|
||||||
struct platform_device *pdev)
|
struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
@ -1854,7 +1854,7 @@ static int __init r8a66597_sudmac_ioremap(struct r8a66597 *r8a66597,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __init r8a66597_probe(struct platform_device *pdev)
|
static int r8a66597_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct device *dev = &pdev->dev;
|
struct device *dev = &pdev->dev;
|
||||||
char clk_name[8];
|
char clk_name[8];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue