[PATCH] ARM: h3600_irda_set_speed arguments
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 17 Apr 2005 14:40:46 +0000 (15:40 +0100)
committerRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 17 Apr 2005 14:40:46 +0000 (15:40 +0100)
h3600_irda_set_speed() had the wrong type for the "speed" argument.
Fix this.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
arch/arm/mach-sa1100/h3600.c

index 9788d3aefa7324460dc2be6dd08158157927e128..84c86543501a7831ca7286fd373bdc959e367ce0 100644 (file)
@@ -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);