summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2014-04-28 12:45:54 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:47:31 +0900
commit12b9df766f040aac68280f0f1196ad3616a6094a (patch)
treeb6045d79de7e5794bd2af789e04507ce4fe786d3 /drivers
parentbe41fcade774c0a77201e9ac79c9602ce865590a (diff)
downloadlinux-3.10-12b9df766f040aac68280f0f1196ad3616a6094a.tar.gz
linux-3.10-12b9df766f040aac68280f0f1196ad3616a6094a.tar.bz2
linux-3.10-12b9df766f040aac68280f0f1196ad3616a6094a.zip
misc: modem_if: fix section mismatch from tizen_modem.c
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/modem_if/tizen_modem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/modem_if/tizen_modem.c b/drivers/misc/modem_if/tizen_modem.c
index 1d717c2486d..07ef592e7b6 100644
--- a/drivers/misc/modem_if/tizen_modem.c
+++ b/drivers/misc/modem_if/tizen_modem.c
@@ -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;