sdhci-pxav2.c (7e95e365d5399647a41e10059e4b09826b82d78b) sdhci-pxav2.c (29495aa04a30c21565243c5b9c028510446d242c)
1/*
2 * Copyright (C) 2010 Marvell International Ltd.
3 * Zhangfei Gao <zhangfei.gao@marvell.com>
4 * Kevin Wang <dwang4@marvell.com>
5 * Jun Nie <njun@marvell.com>
6 * Qiming Wu <wuqm@marvell.com>
7 * Philip Rakity <prakity@marvell.com>
8 *

--- 204 unchanged lines hidden (view full) ---

213
214 return 0;
215}
216
217static struct platform_driver sdhci_pxav2_driver = {
218 .driver = {
219 .name = "sdhci-pxav2",
220 .owner = THIS_MODULE,
1/*
2 * Copyright (C) 2010 Marvell International Ltd.
3 * Zhangfei Gao <zhangfei.gao@marvell.com>
4 * Kevin Wang <dwang4@marvell.com>
5 * Jun Nie <njun@marvell.com>
6 * Qiming Wu <wuqm@marvell.com>
7 * Philip Rakity <prakity@marvell.com>
8 *

--- 204 unchanged lines hidden (view full) ---

213
214 return 0;
215}
216
217static struct platform_driver sdhci_pxav2_driver = {
218 .driver = {
219 .name = "sdhci-pxav2",
220 .owner = THIS_MODULE,
221 .pm = SDHCI_PLTFM_PMOPS,
221 },
222 .probe = sdhci_pxav2_probe,
223 .remove = __devexit_p(sdhci_pxav2_remove),
222 },
223 .probe = sdhci_pxav2_probe,
224 .remove = __devexit_p(sdhci_pxav2_remove),
224#ifdef CONFIG_PM
225 .suspend = sdhci_pltfm_suspend,
226 .resume = sdhci_pltfm_resume,
227#endif
228};
229static int __init sdhci_pxav2_init(void)
230{
231 return platform_driver_register(&sdhci_pxav2_driver);
232}
233
234static void __exit sdhci_pxav2_exit(void)
235{
236 platform_driver_unregister(&sdhci_pxav2_driver);
237}
238
239module_init(sdhci_pxav2_init);
240module_exit(sdhci_pxav2_exit);
241
242MODULE_DESCRIPTION("SDHCI driver for pxav2");
243MODULE_AUTHOR("Marvell International Ltd.");
244MODULE_LICENSE("GPL v2");
245
225};
226static int __init sdhci_pxav2_init(void)
227{
228 return platform_driver_register(&sdhci_pxav2_driver);
229}
230
231static void __exit sdhci_pxav2_exit(void)
232{
233 platform_driver_unregister(&sdhci_pxav2_driver);
234}
235
236module_init(sdhci_pxav2_init);
237module_exit(sdhci_pxav2_exit);
238
239MODULE_DESCRIPTION("SDHCI driver for pxav2");
240MODULE_AUTHOR("Marvell International Ltd.");
241MODULE_LICENSE("GPL v2");
242