openwrt/target/linux/brcm2708/patches-4.14/950-0192-mmc-bcm2835-sdhost...

27 lines
884 B
Diff

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 */