mmc: bcm2835-sdhost: Add include
authorPhil Elwell <phil@raspberrypi.org>
Mon, 5 Feb 2018 09:35:01 +0000 (09:35 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:57:30 +0000 (15:57 +0100)
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

index 5b1aa59b84af2ba31b9b62c73be9846efa9cb085..a408459d745851b8b8fded6a1c2e6b46d9c2bc1c 100644 (file)
@@ -51,6 +51,7 @@
 #include <linux/of_dma.h>
 #include <linux/time.h>
 #include <linux/workqueue.h>
+#include <linux/highmem.h>
 #include <soc/bcm2835/raspberrypi-firmware.h>
 
 #define DRIVER_NAME "sdhost-bcm2835"