From: Dmitry Shmidt Date: Fri, 2 Jul 2010 19:03:25 +0000 (-0700) Subject: drivers: mfd: cpcap: Fix section mismatch warnings X-Git-Tag: firefly_0821_release~9834^2~808 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=add4b3ab012b7f9f046f110fc507a27ee35433b2;p=firefly-linux-kernel-4.4.55.git drivers: mfd: cpcap: Fix section mismatch warnings Signed-off-by: Dmitry Shmidt --- diff --git a/drivers/mfd/cpcap-3mm5.c b/drivers/mfd/cpcap-3mm5.c index 68923cf6ebe3..29e39749d623 100644 --- a/drivers/mfd/cpcap-3mm5.c +++ b/drivers/mfd/cpcap-3mm5.c @@ -204,7 +204,7 @@ static void mac13_handler(enum cpcap_irqs irq, void *data) schedule_delayed_work(&data_3mm5->work, msecs_to_jiffies(200)); } -static int __init cpcap_3mm5_probe(struct platform_device *pdev) +static int cpcap_3mm5_probe(struct platform_device *pdev) { int retval = 0; struct cpcap_3mm5_data *data; diff --git a/drivers/mfd/cpcap-key.c b/drivers/mfd/cpcap-key.c index 633e6ded2255..783dd0193b49 100644 --- a/drivers/mfd/cpcap-key.c +++ b/drivers/mfd/cpcap-key.c @@ -31,7 +31,7 @@ struct cpcap_key_data { struct cpcap_device *cpcap; }; -static int __init cpcap_key_probe(struct platform_device *pdev) +static int cpcap_key_probe(struct platform_device *pdev) { int err; struct cpcap_key_data *key; diff --git a/drivers/mfd/cpcap-whisper.c b/drivers/mfd/cpcap-whisper.c index 8e41c7c165cd..87b14c30a693 100644 --- a/drivers/mfd/cpcap-whisper.c +++ b/drivers/mfd/cpcap-whisper.c @@ -476,7 +476,7 @@ int cpcap_accy_whisper(struct cpcap_device *cpcap, unsigned long cmd) return retval; } -static int __init cpcap_whisper_probe(struct platform_device *pdev) +static int cpcap_whisper_probe(struct platform_device *pdev) { int retval; struct cpcap_whisper_data *data;