]> git.hungrycats.org Git - linux/commitdiff
PPC32: Fix the definition of PMU_IOC_GRAB_BACKLIGHT.
authorPaul Mackerras <paulus@samba.org>
Sat, 27 Sep 2003 21:32:44 +0000 (07:32 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 27 Sep 2003 21:32:44 +0000 (07:32 +1000)
include/linux/pmu.h

index 818a84c1edffce5e67a581eb366ac0be9e8d5308..b97041287312d98821c90b2f6ed09fd2046ad148 100644 (file)
@@ -131,8 +131,8 @@ enum {
 #define PMU_IOC_HAS_ADB                _IOR('B', 4, size_t) 
 /* out param: u32*     can_sleep: 0 or 1 */
 #define PMU_IOC_CAN_SLEEP      _IOR('B', 5, size_t) 
-/* no param */
-#define PMU_IOC_GRAB_BACKLIGHT _IOR('B', 6, 0) 
+/* no param, but historically was _IOR('B', 6, 0), meaning 4 bytes */
+#define PMU_IOC_GRAB_BACKLIGHT _IOR('B', 6, size_t) 
 
 #ifdef __KERNEL__