Title: [9194] branches/2010R1/arch/blackfin/mach-bf561/coreb.c: merge from trunk: blackfin: coreb: use ioctl numbers that dont collide with common code
- Revision
- 9194
- Author
- vapier
- Date
- 2010-10-06 02:36:03 -0400 (Wed, 06 Oct 2010)
Log Message
merge from trunk: blackfin: coreb: use ioctl numbers that dont collide with common code
Modified Paths
Diff
Modified: branches/2010R1/arch/blackfin/mach-bf561/coreb.c (9193 => 9194)
--- branches/2010R1/arch/blackfin/mach-bf561/coreb.c 2010-10-06 06:35:56 UTC (rev 9193)
+++ branches/2010R1/arch/blackfin/mach-bf561/coreb.c 2010-10-06 06:36:03 UTC (rev 9194)
@@ -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