Title: [9190] trunk/arch/blackfin/mach-bf561/coreb.c: blackfin: coreb: use ioctl numbers that dont collide with common code
Revision
9190
Author
vapier
Date
2010-10-06 02:33:08 -0400 (Wed, 06 Oct 2010)

Log Message

blackfin: coreb: use ioctl numbers that dont collide with common code

Modified Paths

Diff

Modified: trunk/arch/blackfin/mach-bf561/coreb.c (9189 => 9190)


--- trunk/arch/blackfin/mach-bf561/coreb.c	2010-10-06 06:30:04 UTC (rev 9189)
+++ trunk/arch/blackfin/mach-bf561/coreb.c	2010-10-06 06:33:08 UTC (rev 9190)
@@ -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)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to