f85e2961bd4ce798198f2d129b2566f66c3f230a
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.15 / 950-0193-drivers-char-vcio-Use-common-compat-header.patch
1 From 9d335660546d3ed85193ca0276f5bf8ca4ee61eb 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