drivers: mfd: cpcap: Fix section mismatch warnings
authorDmitry Shmidt <dimitrysh@google.com>
Fri, 2 Jul 2010 19:03:25 +0000 (12:03 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:14 +0000 (16:33 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/mfd/cpcap-3mm5.c
drivers/mfd/cpcap-key.c
drivers/mfd/cpcap-whisper.c

index 68923cf6ebe3f6e847bfa6fbe77cb45ebc63a178..29e39749d62367e1633a534425402b0d8e2b906f 100644 (file)
@@ -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;
index 633e6ded2255c96e5411384a1b9b69695b5c7ad4..783dd0193b49c0158b5c6a9cc8508baa68ab2c0f 100644 (file)
@@ -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;
index 8e41c7c165cdc5d9b1e50f1e118486674889ae96..87b14c30a693378dc9528a1dbbb88e8c60302ebf 100644 (file)
@@ -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;