summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-02-06 13:33:32 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 11:08:07 +0100
commita63461e9ea35e55058e0a07e2030de13584e9ca2 (patch)
tree9c2d238c88a75509a76efb50e45c6eb633c41c31
parent79e04fdbb3423f6faa0d93e5ec41c2c2741d4052 (diff)
downloadop-kernel-dev-a63461e9ea35e55058e0a07e2030de13584e9ca2.zip
op-kernel-dev-a63461e9ea35e55058e0a07e2030de13584e9ca2.tar.gz
CRIS: Make io_pwm_set_period members unsigned in etraxgpio.h
-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 9fdb206..38f1c8e 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.
OpenPOWER on IntegriCloud