Title: [9192] branches/2009R1/arch/blackfin/mach-bf561/coreb.c: merge from trunk: blackfin: coreb: use ioctl numbers that dont collide with common code
- Revision
- 9192
- Author
- vapier
- Date
- 2010-10-06 02:35:09 -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/2009R1/arch/blackfin/mach-bf561/coreb.c (9191 => 9192)
--- branches/2009R1/arch/blackfin/mach-bf561/coreb.c 2010-10-06 06:34:47 UTC (rev 9191)
+++ branches/2009R1/arch/blackfin/mach-bf561/coreb.c 2010-10-06 06:35:09 UTC (rev 9192)
@@ -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 int
coreb_ioctl(struct inode *inode, 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