sdhci-pic32.c (f26e8817b235d8764363bffcc9cbfc61867371f2) | sdhci-pic32.c (d35ade8ff7e21d2a8ac57a994cf2cef3b599e9e3) |
---|---|
1/* 2 * Support of SDHCI platform devices for Microchip PIC32. 3 * 4 * Copyright (C) 2015 Microchip 5 * Andrei Pistirica, Paul Thacker 6 * 7 * Inspired by sdhci-pltfm.c 8 * --- 83 unchanged lines hidden (view full) --- 92 .get_max_clock = pic32_sdhci_get_max_clock, 93 .set_clock = sdhci_set_clock, 94 .set_bus_width = pic32_sdhci_set_bus_width, 95 .reset = sdhci_reset, 96 .set_uhs_signaling = sdhci_set_uhs_signaling, 97 .get_ro = pic32_sdhci_get_ro, 98}; 99 | 1/* 2 * Support of SDHCI platform devices for Microchip PIC32. 3 * 4 * Copyright (C) 2015 Microchip 5 * Andrei Pistirica, Paul Thacker 6 * 7 * Inspired by sdhci-pltfm.c 8 * --- 83 unchanged lines hidden (view full) --- 92 .get_max_clock = pic32_sdhci_get_max_clock, 93 .set_clock = sdhci_set_clock, 94 .set_bus_width = pic32_sdhci_set_bus_width, 95 .reset = sdhci_reset, 96 .set_uhs_signaling = sdhci_set_uhs_signaling, 97 .get_ro = pic32_sdhci_get_ro, 98}; 99 |
100static struct sdhci_pltfm_data sdhci_pic32_pdata = { | 100static const struct sdhci_pltfm_data sdhci_pic32_pdata = { |
101 .ops = &pic32_sdhci_ops, 102 .quirks = SDHCI_QUIRK_NO_HISPD_BIT, 103 .quirks2 = SDHCI_QUIRK2_NO_1_8_V, 104}; 105 106static void pic32_sdhci_shared_bus(struct platform_device *pdev) 107{ 108 struct sdhci_host *host = platform_get_drvdata(pdev); --- 148 unchanged lines hidden --- | 101 .ops = &pic32_sdhci_ops, 102 .quirks = SDHCI_QUIRK_NO_HISPD_BIT, 103 .quirks2 = SDHCI_QUIRK2_NO_1_8_V, 104}; 105 106static void pic32_sdhci_shared_bus(struct platform_device *pdev) 107{ 108 struct sdhci_host *host = platform_get_drvdata(pdev); --- 148 unchanged lines hidden --- |