[PATCH 2/3] staging: vchiq_arm: Include linux/mm.h

Stefan Wahren stefan.wahren at i2se.com
Sat Feb 25 05:25:43 PST 2017


vchiq_2835_arm.c uses functions and macros like put_page() or
PAGE_ALIGN(). So we better include the necessary header.

Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 .../interface/vchiq_arm/vchiq_2835_arm.c           |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
index 6581923..f5df5c4 100644
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
@@ -40,6 +40,7 @@
 #include <linux/io.h>
 #include <linux/platform_device.h>
 #include <linux/uaccess.h>
+#include <linux/mm.h>
 #include <linux/of.h>
 #include <soc/bcm2835/raspberrypi-firmware.h>
 
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list