summaryrefslogtreecommitdiffstats
path: root/drivers/atm/ambassador.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-10-04 01:27:55 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-04 09:31:05 +0200
commit3a4e5e2033eb7558ebe307e46f5fb6e63b92cab8 (patch)
tree7e90c84599d23f3f5c00b5299013fd5f14b8c8b7 /drivers/atm/ambassador.c
parent[ATM]: kmalloc to kzalloc patches for drivers/atm (diff)
downloadlinux-3a4e5e2033eb7558ebe307e46f5fb6e63b92cab8.tar.xz
linux-3a4e5e2033eb7558ebe307e46f5fb6e63b92cab8.zip
[ATM]: [ambassador] Change the return type to reflect reality
Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/ambassador.c')
-rw-r--r--drivers/atm/ambassador.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c
index 4521a249dd56..da599e6e9d34 100644
--- a/drivers/atm/ambassador.c
+++ b/drivers/atm/ambassador.c
@@ -915,8 +915,8 @@ static irqreturn_t interrupt_handler(int irq, void *dev_id,
/********** make rate (not quite as much fun as Horizon) **********/
-static unsigned int make_rate (unsigned int rate, rounding r,
- u16 * bits, unsigned int * actual) {
+static int make_rate (unsigned int rate, rounding r,
+ u16 * bits, unsigned int * actual) {
unsigned char exp = -1; // hush gcc
unsigned int man = -1; // hush gcc