From: Mike Frysinger Date: Wed, 6 Oct 2010 06:33:08 +0000 (+0000) Subject: Blackfin: coreb: update ioctl numbers X-Git-Tag: v2.6.37-rc1~151^2~9 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=7696eecf14a81074dc930d5d6ad62957fef86c49;p=net-next-2.6.git 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 Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/mach-bf561/coreb.c b/arch/blackfin/mach-bf561/coreb.c index 064d0307816..396cedb59fd 100644 --- a/arch/blackfin/mach-bf561/coreb.c +++ b/arch/blackfin/mach-bf561/coreb.c @@ -18,9 +18,9 @@ #include #include -#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)