diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-06 08:33:08 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-22 22:29:59 +0200 |
commit | 7696eecf14a81074dc930d5d6ad62957fef86c49 (patch) | |
tree | 6fe4006e57efb02e14febeef183e0d9e3c344476 | |
parent | Blackfin: coreb: add gpl module license (diff) | |
download | linux-7696eecf14a81074dc930d5d6ad62957fef86c49.tar.xz linux-7696eecf14a81074dc930d5d6ad62957fef86c49.zip |
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: Kay Duenzer <kduenzer@maku.eu>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | arch/blackfin/mach-bf561/coreb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf561/coreb.c b/arch/blackfin/mach-bf561/coreb.c index 064d03078160..396cedb59fdb 100644 --- a/arch/blackfin/mach-bf561/coreb.c +++ b/arch/blackfin/mach-bf561/coreb.c @@ -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) |