提交 7696eecf 编写于 作者: M Mike Frysinger

Blackfin: coreb: update ioctl numbers

We have to use ioctl numbers that don't collide with common code.
Otherwise, these ones never even get called because the common fs
code swalled all invocations.
Reported-by: NKay Duenzer <kduenzer@maku.eu>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 6cf4d0fa
......@@ -18,9 +18,9 @@
#include <linux/miscdevice.h>
#include <linux/module.h>
#define CMD_COREB_START 2
#define CMD_COREB_STOP 3
#define CMD_COREB_RESET 4
#define CMD_COREB_START _IO('b', 0)
#define CMD_COREB_STOP _IO('b', 1)
#define CMD_COREB_RESET _IO('b', 2)
static long
coreb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册