bcm27xx: switch to 5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.10 / 950-0188-drivers-char-vcio-Use-common-compat-header.patch
1 From b1c80253689fe3d451d08ec707907b2dca61ddc3 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 2 Mar 2020 14:40:19 +0000
4 Subject: [PATCH] drivers: char: vcio: 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/char/broadcom/vcio.c | 1 +
12 1 file changed, 1 insertion(+)
13
14 --- a/drivers/char/broadcom/vcio.c
15 +++ b/drivers/char/broadcom/vcio.c
16 @@ -18,6 +18,7 @@
17 #include <linux/module.h>
18 #include <linux/slab.h>
19 #include <linux/uaccess.h>
20 +#include <linux/compat.h>
21 #include <soc/bcm2835/raspberrypi-firmware.h>
22
23 #define MBOX_CHAN_PROPERTY 8