aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/asm-cris/etraxgpio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-cris/etraxgpio.h b/include/asm-cris/etraxgpio.h
index 9fdb206f318..38f1c8e1770 100644
--- a/include/asm-cris/etraxgpio.h
+++ b/include/asm-cris/etraxgpio.h
@@ -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.