mfd: register ezx-pcap earlier
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 31 Jul 2009 22:55:45 +0000 (15:55 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:46:56 +0000 (09:46 +0200)
Register ezx-pcap earlier so it can be used with cpufreq

Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ezx-pcap.c

index 86d394894d8122bba410340c2a2e31631ca13ca1..016be4938e4c4baac63168e2c478f335ae162ed9 100644 (file)
@@ -542,7 +542,7 @@ static void __exit ezx_pcap_exit(void)
        spi_unregister_driver(&ezxpcap_driver);
 }
 
-module_init(ezx_pcap_init);
+subsys_initcall(ezx_pcap_init);
 module_exit(ezx_pcap_exit);
 
 MODULE_LICENSE("GPL");