aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-04-17 10:40:46 -0400
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-04-17 10:40:46 -0400
commit58c02ec4701c94c671a41e1e5d50c582e859851f (patch)
tree36ff3f13c2484ff6e355280899a4ffdd1f05d3a6 /arch/arm/mach-sa1100
parent336eb02b9171d132a9abe575317fee4cca965af4 (diff)
[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>
Diffstat (limited to 'arch/arm/mach-sa1100')
-rw-r--r--arch/arm/mach-sa1100/h3600.c2
1 files changed, 1 insertions, 1 deletions
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)
130 return 0; 130 return 0;
131} 131}
132 132
133static void h3600_irda_set_speed(struct device *dev, int speed) 133static void h3600_irda_set_speed(struct device *dev, unsigned int speed)
134{ 134{
135 if (speed < 4000000) { 135 if (speed < 4000000) {
136 clr_h3600_egpio(IPAQ_EGPIO_IR_FSEL); 136 clr_h3600_egpio(IPAQ_EGPIO_IR_FSEL);