[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:
Родитель
336eb02b91
Коммит
58c02ec470
|
@ -130,7 +130,7 @@ static int h3600_irda_set_power(struct device *dev, unsigned int state)
|
|||
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) {
|
||||
clr_h3600_egpio(IPAQ_EGPIO_IR_FSEL);
|
||||
|
|
Загрузка…
Ссылка в новой задаче