6a4b9650c5c84f4c583cd9d31ccf699b8099a494
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.10 / 950-0189-video-fbdev-bcm2708_fb-Use-common-compat-header.patch
1 From 6dd897b34471d95f9c01d19df06c339fe6fbf38c 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"