From: Russell King Date: Sun, 17 Apr 2005 14:40:46 +0000 (+0100) Subject: [PATCH] ARM: h3600_irda_set_speed arguments X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=58c02ec4701c94c671a41e1e5d50c582e859851f;p=deliverable%2Flinux.git [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 --- diff --git a/arch/arm/mach-sa1100/h3600.c b/arch/arm/mach-sa1100/h3600.c index 9788d3aefa73..84c86543501a 100644 --- a/arch/arm/mach-sa1100/h3600.c +++ b/arch/arm/mach-sa1100/h3600.c @@ -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);