diff options
Diffstat (limited to 'recipes-kernel/linux/linux-at91-5.4.243/linux-5.4-export-mmc_pwrseq_alloc.patch')
-rw-r--r-- | recipes-kernel/linux/linux-at91-5.4.243/linux-5.4-export-mmc_pwrseq_alloc.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.243/linux-5.4-export-mmc_pwrseq_alloc.patch b/recipes-kernel/linux/linux-at91-5.4.243/linux-5.4-export-mmc_pwrseq_alloc.patch new file mode 100644 index 0000000..c08ac22 --- /dev/null +++ b/recipes-kernel/linux/linux-at91-5.4.243/linux-5.4-export-mmc_pwrseq_alloc.patch @@ -0,0 +1,25 @@ +From 9c624cc6c8e38c587ed1b78ca7b3edf82f05e9b5 Mon Sep 17 00:00:00 2001 +From: Mykyta Dorokhin <mykyta.dorokhin@globallogic.com> +Date: Sat, 6 Feb 2021 02:27:06 +0200 +Subject: [PATCH] linux-5.4: export mmc_pwrseq_alloc. Otherwise atmel_mci as a + module faile to get reloaded + +--- + drivers/mmc/core/pwrseq.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/mmc/core/pwrseq.c b/drivers/mmc/core/pwrseq.c +index ef675f3..44b4caa 100644 +--- a/drivers/mmc/core/pwrseq.c ++++ b/drivers/mmc/core/pwrseq.c +@@ -50,6 +50,7 @@ int mmc_pwrseq_alloc(struct mmc_host *host) + + return 0; + } ++EXPORT_SYMBOL_GPL(mmc_pwrseq_alloc); + + void mmc_pwrseq_pre_power_on(struct mmc_host *host) + { +-- +1.9.1 + |