sdhci-dove.c (d4bbf7e7759afc172e2bfbc5c416324590049cdd) | sdhci-dove.c (29495aa04a30c21565243c5b9c028510446d242c) |
---|---|
1/* 2 * sdhci-dove.c Support for SDHCI on Marvell's Dove SoC 3 * 4 * Author: Saeed Bishara <saeed@marvell.com> 5 * Mike Rapoport <mike@compulab.co.il> 6 * Based on sdhci-cns3xxx.c 7 * 8 * This program is free software; you can redistribute it and/or modify --- 68 unchanged lines hidden (view full) --- 77{ 78 return sdhci_pltfm_unregister(pdev); 79} 80 81static struct platform_driver sdhci_dove_driver = { 82 .driver = { 83 .name = "sdhci-dove", 84 .owner = THIS_MODULE, | 1/* 2 * sdhci-dove.c Support for SDHCI on Marvell's Dove SoC 3 * 4 * Author: Saeed Bishara <saeed@marvell.com> 5 * Mike Rapoport <mike@compulab.co.il> 6 * Based on sdhci-cns3xxx.c 7 * 8 * This program is free software; you can redistribute it and/or modify --- 68 unchanged lines hidden (view full) --- 77{ 78 return sdhci_pltfm_unregister(pdev); 79} 80 81static struct platform_driver sdhci_dove_driver = { 82 .driver = { 83 .name = "sdhci-dove", 84 .owner = THIS_MODULE, |
85 .pm = SDHCI_PLTFM_PMOPS, |
|
85 }, 86 .probe = sdhci_dove_probe, 87 .remove = __devexit_p(sdhci_dove_remove), | 86 }, 87 .probe = sdhci_dove_probe, 88 .remove = __devexit_p(sdhci_dove_remove), |
88#ifdef CONFIG_PM 89 .suspend = sdhci_pltfm_suspend, 90 .resume = sdhci_pltfm_resume, 91#endif | |
92}; 93 94static int __init sdhci_dove_init(void) 95{ 96 return platform_driver_register(&sdhci_dove_driver); 97} 98module_init(sdhci_dove_init); 99 100static void __exit sdhci_dove_exit(void) 101{ 102 platform_driver_unregister(&sdhci_dove_driver); 103} 104module_exit(sdhci_dove_exit); 105 106MODULE_DESCRIPTION("SDHCI driver for Dove"); 107MODULE_AUTHOR("Saeed Bishara <saeed@marvell.com>, " 108 "Mike Rapoport <mike@compulab.co.il>"); 109MODULE_LICENSE("GPL v2"); | 89}; 90 91static int __init sdhci_dove_init(void) 92{ 93 return platform_driver_register(&sdhci_dove_driver); 94} 95module_init(sdhci_dove_init); 96 97static void __exit sdhci_dove_exit(void) 98{ 99 platform_driver_unregister(&sdhci_dove_driver); 100} 101module_exit(sdhci_dove_exit); 102 103MODULE_DESCRIPTION("SDHCI driver for Dove"); 104MODULE_AUTHOR("Saeed Bishara <saeed@marvell.com>, " 105 "Mike Rapoport <mike@compulab.co.il>"); 106MODULE_LICENSE("GPL v2"); |