summaryrefslogtreecommitdiff
path: root/include/linux/phantom.h
diff options
context:
space:
mode:
authorjan sonnek <xsonnek@gmail.com>2008-04-29 11:59:15 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 19:06:02 +0400
commit6e5e8c5085190b30b6fa42a4b75a88c10846b5f2 (patch)
tree2b7b044ea0c3a5158ed9e123f0f2f43e7e7c8a8f /include/linux/phantom.h
parent7d4f9f094b0a01ba199f97cd4a5f5609391a04f9 (diff)
downloadlinux-6e5e8c5085190b30b6fa42a4b75a88c10846b5f2.tar.xz
Misc: phantom, consistent whitespace
Make it consistent with the rest of the header. Signed-off-by: jan sonnek <xsonnek@gmail.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/phantom.h')
-rw-r--r--include/linux/phantom.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/phantom.h b/include/linux/phantom.h
index a341e2162b45..02268c54c250 100644
--- a/include/linux/phantom.h
+++ b/include/linux/phantom.h
@@ -27,13 +27,13 @@ struct phm_regs {
#define PH_IOC_MAGIC 'p'
#define PHN_GET_REG _IOWR(PH_IOC_MAGIC, 0, struct phm_reg *)
-#define PHN_SET_REG _IOW (PH_IOC_MAGIC, 1, struct phm_reg *)
+#define PHN_SET_REG _IOW(PH_IOC_MAGIC, 1, struct phm_reg *)
#define PHN_GET_REGS _IOWR(PH_IOC_MAGIC, 2, struct phm_regs *)
-#define PHN_SET_REGS _IOW (PH_IOC_MAGIC, 3, struct phm_regs *)
+#define PHN_SET_REGS _IOW(PH_IOC_MAGIC, 3, struct phm_regs *)
/* this ioctl tells the driver, that the caller is not OpenHaptics and might
* use improved registers update (no more phantom switchoffs when using
* libphantom) */
-#define PHN_NOT_OH _IO (PH_IOC_MAGIC, 4)
+#define PHN_NOT_OH _IO(PH_IOC_MAGIC, 4)
#define PHN_GETREG _IOWR(PH_IOC_MAGIC, 5, struct phm_reg)
#define PHN_SETREG _IOW(PH_IOC_MAGIC, 6, struct phm_reg)
#define PHN_GETREGS _IOWR(PH_IOC_MAGIC, 7, struct phm_regs)