video: fbdev: bcm2708_fb: Use common compat header
authorPhil Elwell <phil@raspberrypi.com>
Mon, 2 Mar 2020 14:42:23 +0000 (14:42 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:59 +0000 (16:03 +0000)
The definition of compat_ptr is now common for most platforms, but
requires the inclusion of <linux/compat.h>.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/video/fbdev/bcm2708_fb.c

index 0e9ec3f..17e9260 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/cred.h>
 #include <soc/bcm2835/raspberrypi-firmware.h>
 #include <linux/mutex.h>
+#include <linux/compat.h>
 
 //#define BCM2708_FB_DEBUG
 #define MODULE_NAME "bcm2708_fb"