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
6 The definition of compat_ptr is now common for most platforms, but
7 requires the inclusion of <linux/compat.h>.
9 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
11 drivers/char/broadcom/vcio.c | 1 +
12 1 file changed, 1 insertion(+)
14 --- a/drivers/char/broadcom/vcio.c
15 +++ b/drivers/char/broadcom/vcio.c
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>
23 #define MBOX_CHAN_PROPERTY 8