[PATCH] ARM: h3600_irda_set_speed arguments
h3600_irda_set_speed() had the wrong type for the "speed" argument. Fix this. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
This commit is contained in:
parent
336eb02b91
commit
58c02ec470
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ static int h3600_irda_set_power(struct device *dev, unsigned int state)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void h3600_irda_set_speed(struct device *dev, int speed)
|
static void h3600_irda_set_speed(struct device *dev, unsigned int speed)
|
||||||
{
|
{
|
||||||
if (speed < 4000000) {
|
if (speed < 4000000) {
|
||||||
clr_h3600_egpio(IPAQ_EGPIO_IR_FSEL);
|
clr_h3600_egpio(IPAQ_EGPIO_IR_FSEL);
|
||||||
|
|
Loading…
Reference in a new issue