diff options
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0192-mmc-bcm2835-sdhost-Add-include.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.14/950-0192-mmc-bcm2835-sdhost-Add-include.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0192-mmc-bcm2835-sdhost-Add-include.patch b/target/linux/brcm2708/patches-4.14/950-0192-mmc-bcm2835-sdhost-Add-include.patch new file mode 100644 index 0000000000..eb6d8988da --- /dev/null +++ b/target/linux/brcm2708/patches-4.14/950-0192-mmc-bcm2835-sdhost-Add-include.patch @@ -0,0 +1,26 @@ +From 64f105cdec2f536a6893b4a2c9b711d21b327821 Mon Sep 17 00:00:00 2001 +From: Phil Elwell <phil@raspberrypi.org> +Date: Mon, 5 Feb 2018 09:35:01 +0000 +Subject: [PATCH 192/454] mmc: bcm2835-sdhost: Add include + +highmem.h (needed for kmap_atomic) is pulled in by one of the other +include files, but only with some CONFIG settings. Make the inclusion +explicit to cater for cases where the CONFIG setting is absent. + +See: https://github.com/raspberrypi/linux/issues/2366 + +Signed-off-by: Phil Elwell <phil@raspberrypi.org> +--- + drivers/mmc/host/bcm2835-sdhost.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/mmc/host/bcm2835-sdhost.c ++++ b/drivers/mmc/host/bcm2835-sdhost.c +@@ -52,6 +52,7 @@ + #include <linux/time.h> + #include <linux/workqueue.h> + #include <linux/interrupt.h> ++#include <linux/highmem.h> + #include <soc/bcm2835/raspberrypi-firmware.h> + + /* For mmc_card_blockaddr */ |