misc: modem_if: fix section mismatch from tizen_modem.c
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 28 Apr 2014 03:45:54 +0000 (12:45 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:28:40 +0000 (07:28 +0200)
A function, modem_probe, had __init while it was used by
a struct that is not __init.

Change-Id: Ib1571c89b4bfcebc58b2669b669bd4606d1922fa
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/misc/modem_if/tizen_modem.c

index 1d717c2..07ef592 100644 (file)
@@ -419,7 +419,7 @@ dt_parse_err:
        return ERR_PTR(err);
 }
 
-static int __init modem_probe(struct platform_device *pdev)
+static int modem_probe(struct platform_device *pdev)
 {
        int i;
        struct modem_data *pdata = pdev->dev.platform_data;