brcm2708: add kernel 4.14 support
[openwrt/staging/chunkeey.git] / target / linux / brcm2708 / patches-4.14 / 950-0192-mmc-bcm2835-sdhost-Add-include.patch
1 From 64f105cdec2f536a6893b4a2c9b711d21b327821 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Mon, 5 Feb 2018 09:35:01 +0000
4 Subject: [PATCH 192/454] mmc: bcm2835-sdhost: Add include
5
6 highmem.h (needed for kmap_atomic) is pulled in by one of the other
7 include files, but only with some CONFIG settings. Make the inclusion
8 explicit to cater for cases where the CONFIG setting is absent.
9
10 See: https://github.com/raspberrypi/linux/issues/2366
11
12 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
13 ---
14 drivers/mmc/host/bcm2835-sdhost.c | 1 +
15 1 file changed, 1 insertion(+)
16
17 --- a/drivers/mmc/host/bcm2835-sdhost.c
18 +++ b/drivers/mmc/host/bcm2835-sdhost.c
19 @@ -52,6 +52,7 @@
20 #include <linux/time.h>
21 #include <linux/workqueue.h>
22 #include <linux/interrupt.h>
23 +#include <linux/highmem.h>
24 #include <soc/bcm2835/raspberrypi-firmware.h>
25
26 /* For mmc_card_blockaddr */