Convert Spitz to use software nodes for specifying GPIOs for the MMC.
Showing the changes to include/linux/platform_data (1 of 5 files). Show all
Unified · Split
| @@ -7,6 +7,7 @@ · 6 unmodified lines | ||
| 7 | 7 | |
| 8 | 8 | struct device; |
| 9 | 9 | struct mmc_host; |
| 10 | +struct property_entry; | |
| 10 | 11 | |
| 11 | 12 | struct pxamci_platform_data { |
| 12 | 13 | unsigned int ocr_mask; /* available voltages */ |
| @@ -18,7 +19,8 @@ struct pxamci_platform_data { · 5 unmodified lines | ||
| 18 | 19 | bool gpio_card_ro_invert; /* gpio ro is inverted */ |
| 19 | 20 | }; |
| 20 | 21 | |
| 21 | −extern void pxa_set_mci_info(struct pxamci_platform_data *info); | |
| 22 | +extern void pxa_set_mci_info(const struct pxamci_platform_data *info, | |
| 23 | + const struct property_entry *props); | |
| 22 | 24 | extern void pxa3xx_set_mci2_info(struct pxamci_platform_data *info); |
| 23 | 25 | extern void pxa3xx_set_mci3_info(struct pxamci_platform_data *info); |
| 24 | 26 | |