]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
CRIS: Make io_pwm_set_period members unsigned in etraxgpio.h
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 6 Feb 2008 12:33:32 +0000 (13:33 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:08:07 +0000 (11:08 +0100)
include/asm-cris/etraxgpio.h

index 9fdb206f318d6251d7079ad18d65a79fb1ad9545..38f1c8e1770c0f8319ba5fc1b739c969c264459e 100644 (file)
@@ -156,8 +156,8 @@ struct io_pwm_set_mode {
 #define IO_PWM_SET_PERIOD   0x21
 
 struct io_pwm_set_period {
-       int lo;         /* 0..8191 */
-       int hi;         /* 0..8191 */
+       unsigned int lo;                /* 0..8191 */
+       unsigned int hi;                /* 0..8191 */
 };
 
 /* Only for modes PWM_STANDARD and PWM_FAST.