]> err.no Git - linux-2.6/commitdiff
[ATM]: [ambassador] Change the return type to reflect reality
authorJeff Garzik <jeff@garzik.org>
Tue, 3 Oct 2006 23:27:55 +0000 (16:27 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 4 Oct 2006 07:31:05 +0000 (00:31 -0700)
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>
drivers/atm/ambassador.c

index 4521a249dd5632b0555c621c43ab4f974be0a627..da599e6e9d34c2fd47aa02bac6c615704f2a9244 100644 (file)
@@ -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