sdhci-tegra.c (7e95e365d5399647a41e10059e4b09826b82d78b) | sdhci-tegra.c (29495aa04a30c21565243c5b9c028510446d242c) |
---|---|
1/* 2 * Copyright (C) 2010 Google, Inc. 3 * 4 * This software is licensed under the terms of the GNU General Public 5 * License version 2, as published by the Free Software Foundation, and 6 * may be copied, distributed, and modified under those terms. 7 * 8 * This program is distributed in the hope that it will be useful, --- 304 unchanged lines hidden (view full) --- 313 return 0; 314} 315 316static struct platform_driver sdhci_tegra_driver = { 317 .driver = { 318 .name = "sdhci-tegra", 319 .owner = THIS_MODULE, 320 .of_match_table = sdhci_tegra_dt_match, | 1/* 2 * Copyright (C) 2010 Google, Inc. 3 * 4 * This software is licensed under the terms of the GNU General Public 5 * License version 2, as published by the Free Software Foundation, and 6 * may be copied, distributed, and modified under those terms. 7 * 8 * This program is distributed in the hope that it will be useful, --- 304 unchanged lines hidden (view full) --- 313 return 0; 314} 315 316static struct platform_driver sdhci_tegra_driver = { 317 .driver = { 318 .name = "sdhci-tegra", 319 .owner = THIS_MODULE, 320 .of_match_table = sdhci_tegra_dt_match, |
321 .pm = SDHCI_PLTFM_PMOPS, |
|
321 }, 322 .probe = sdhci_tegra_probe, 323 .remove = __devexit_p(sdhci_tegra_remove), | 322 }, 323 .probe = sdhci_tegra_probe, 324 .remove = __devexit_p(sdhci_tegra_remove), |
324#ifdef CONFIG_PM 325 .suspend = sdhci_pltfm_suspend, 326 .resume = sdhci_pltfm_resume, 327#endif | |
328}; 329 330static int __init sdhci_tegra_init(void) 331{ 332 return platform_driver_register(&sdhci_tegra_driver); 333} 334module_init(sdhci_tegra_init); 335 336static void __exit sdhci_tegra_exit(void) 337{ 338 platform_driver_unregister(&sdhci_tegra_driver); 339} 340module_exit(sdhci_tegra_exit); 341 342MODULE_DESCRIPTION("SDHCI driver for Tegra"); 343MODULE_AUTHOR(" Google, Inc."); 344MODULE_LICENSE("GPL v2"); | 325}; 326 327static int __init sdhci_tegra_init(void) 328{ 329 return platform_driver_register(&sdhci_tegra_driver); 330} 331module_init(sdhci_tegra_init); 332 333static void __exit sdhci_tegra_exit(void) 334{ 335 platform_driver_unregister(&sdhci_tegra_driver); 336} 337module_exit(sdhci_tegra_exit); 338 339MODULE_DESCRIPTION("SDHCI driver for Tegra"); 340MODULE_AUTHOR(" Google, Inc."); 341MODULE_LICENSE("GPL v2"); |