Skip to content

Commit 198335f

Browse files
pelwellpopcornmix
authored andcommitted
drivers: char: vcio: Use common compat header
The definition of compat_ptr is now common for most platforms, but requires the inclusion of <linux/compat.h>. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent 36ccb42 commit 198335f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/char/broadcom/vcio.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include <linux/module.h>
1919
#include <linux/slab.h>
2020
#include <linux/uaccess.h>
21+
#include <linux/compat.h>
2122
#include <soc/bcm2835/raspberrypi-firmware.h>
2223

2324
#define MBOX_CHAN_PROPERTY 8

0 commit comments

Comments
 (0)