sdhci-pltfm.c (515033f97c0b5a1bce13fa93e09704d95b44f376) sdhci-pltfm.c (20b1597bcf4a76ccab232fa032f5f9ad30069167)
1/*
2 * sdhci-pltfm.c Support for SDHCI platform devices
3 * Copyright (c) 2009 Intel Corporation
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *

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

153 sdhci_free_host(host);
154 platform_set_drvdata(pdev, NULL);
155
156 return 0;
157}
158
159static const struct platform_device_id sdhci_pltfm_ids[] = {
160 { "sdhci", },
1/*
2 * sdhci-pltfm.c Support for SDHCI platform devices
3 * Copyright (c) 2009 Intel Corporation
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *

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

153 sdhci_free_host(host);
154 platform_set_drvdata(pdev, NULL);
155
156 return 0;
157}
158
159static const struct platform_device_id sdhci_pltfm_ids[] = {
160 { "sdhci", },
161#ifdef CONFIG_MMC_SDHCI_CNS3XXX
162 { "sdhci-cns3xxx", (kernel_ulong_t)&sdhci_cns3xxx_pdata },
163#endif
161 { },
162};
163MODULE_DEVICE_TABLE(platform, sdhci_pltfm_ids);
164
165static struct platform_driver sdhci_pltfm_driver = {
166 .driver = {
167 .name = "sdhci",
168 .owner = THIS_MODULE,

--- 28 unchanged lines hidden ---
164 { },
165};
166MODULE_DEVICE_TABLE(platform, sdhci_pltfm_ids);
167
168static struct platform_driver sdhci_pltfm_driver = {
169 .driver = {
170 .name = "sdhci",
171 .owner = THIS_MODULE,

--- 28 unchanged lines hidden ---