ce7c44914af025362595dedde95c6d9d9cd8e9b0
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.15 / 950-0194-video-fbdev-bcm2708_fb-Use-common-compat-header.patch
1 From 93e02e9bc3580a325b0b5c14103096000ad7181a Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 2 Mar 2020 14:42:23 +0000
4 Subject: [PATCH] video: fbdev: bcm2708_fb: Use common compat header
5
6 The definition of compat_ptr is now common for most platforms, but
7 requires the inclusion of <linux/compat.h>.
8
9 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
10 ---
11 drivers/video/fbdev/bcm2708_fb.c | 1 +
12 1 file changed, 1 insertion(+)
13
14 --- a/drivers/video/fbdev/bcm2708_fb.c
15 +++ b/drivers/video/fbdev/bcm2708_fb.c
16 @@ -38,6 +38,7 @@
17 #include <linux/cred.h>
18 #include <soc/bcm2835/raspberrypi-firmware.h>
19 #include <linux/mutex.h>
20 +#include <linux/compat.h>
21
22 //#define BCM2708_FB_DEBUG
23 #define MODULE_NAME "bcm2708_fb"