firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-include_linux_amba_mm...

28 lines
727 B
Diff

diff -drupN a/include/linux/amba/mmci.h b/include/linux/amba/mmci.h
--- a/include/linux/amba/mmci.h 2018-08-06 17:23:04.000000000 +0300
+++ b/include/linux/amba/mmci.h 2022-06-12 05:28:14.000000000 +0300
@@ -5,6 +5,15 @@
#define AMBA_MMCI_H
#include <linux/mmc/host.h>
+#include <linux/mmc/card.h>
+#include <linux/mmc/sdio_func.h>
+
+struct embedded_sdio_data {
+ struct sdio_cis cis;
+ struct sdio_cccr cccr;
+ struct sdio_embedded_func *funcs;
+ int num_funcs;
+};
/**
* struct mmci_platform_data - platform configuration for the MMCI
@@ -31,6 +40,7 @@ struct mmci_platform_data {
int gpio_wp;
int gpio_cd;
bool cd_invert;
+ struct embedded_sdio_data *embedded_sdio;
};
#endif