diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-03 16:27:55 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-04 00:31:05 -0700 |
commit | 3a4e5e2033eb7558ebe307e46f5fb6e63b92cab8 (patch) | |
tree | 7e90c84599d23f3f5c00b5299013fd5f14b8c8b7 /drivers/atm/ambassador.c | |
parent | 0c1cca1d8e0d58775dad43374f925e6cddf1bebc (diff) |
[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.c | 4 |
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 |