提交 5c472e20 编写于 作者: P Phil Elwell 提交者: Zheng Zengkai

drivers: char: vcio: Use common compat header

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

The definition of compat_ptr is now common for most platforms, but
requires the inclusion of <linux/compat.h>.
Signed-off-by: NPhil Elwell <phil@raspberrypi.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 f65a5648
......@@ -18,6 +18,7 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/compat.h>
#include <soc/bcm2835/raspberrypi-firmware.h>
#define MBOX_CHAN_PROPERTY 8
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册