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, 19 Feb 2024 11:32:57 +0000 (11:32 +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 f0bba24740455189958020f840a39ee257a07a48..fb9d09e2c51263b2e9420b1011355627f2d833c4 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"