diff options
| author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-06 07:33:32 -0500 |
|---|---|---|
| committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:08:07 -0500 |
| commit | a63461e9ea35e55058e0a07e2030de13584e9ca2 (patch) | |
| tree | 9c2d238c88a75509a76efb50e45c6eb633c41c31 /include/asm-cris | |
| parent | 79e04fdbb3423f6faa0d93e5ec41c2c2741d4052 (diff) | |
CRIS: Make io_pwm_set_period members unsigned in etraxgpio.h
Diffstat (limited to 'include/asm-cris')
| -rw-r--r-- | include/asm-cris/etraxgpio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-cris/etraxgpio.h b/include/asm-cris/etraxgpio.h index 9fdb206f318d..38f1c8e1770c 100644 --- a/include/asm-cris/etraxgpio.h +++ b/include/asm-cris/etraxgpio.h | |||
| @@ -156,8 +156,8 @@ struct io_pwm_set_mode { | |||
| 156 | #define IO_PWM_SET_PERIOD 0x21 | 156 | #define IO_PWM_SET_PERIOD 0x21 |
| 157 | 157 | ||
| 158 | struct io_pwm_set_period { | 158 | struct io_pwm_set_period { |
| 159 | int lo; /* 0..8191 */ | 159 | unsigned int lo; /* 0..8191 */ |
| 160 | int hi; /* 0..8191 */ | 160 | unsigned int hi; /* 0..8191 */ |
| 161 | }; | 161 | }; |
| 162 | 162 | ||
| 163 | /* Only for modes PWM_STANDARD and PWM_FAST. | 163 | /* Only for modes PWM_STANDARD and PWM_FAST. |
