From: Russell King Date: Sun, 17 Apr 2005 14:40:46 +0000 (+0100) Subject: [PATCH] ARM: h3600_irda_set_speed arguments X-Git-Tag: upstream/snapshot3+hdmi~48273^2~14^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58c02ec4701c94c671a41e1e5d50c582e859851f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 9788d3a..84c8654 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);