[2.6 patch] SCSI nsp32.c: missing parts of inline removal patch

From: Adrian Bunk
Date: Tue Aug 03 2004 - 07:22:44 EST



The SCSI tree as included in 2.6.8-rc2-mm2 only removes the inline's
from the functions prototypes, but the part of my original patch that
also removes the inline's from the functions was lost.

Please additionally apply the patch below.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.8-rc1-mm1-full-3.4/drivers/scsi/nsp32.c.old 2004-07-16 00:34:49.000000000 +0200
+++ linux-2.6.8-rc1-mm1-full-3.4/drivers/scsi/nsp32.c 2004-07-16 00:37:26.000000000 +0200
@@ -3387,7 +3387,7 @@
return val;
}

-static inline void nsp32_prom_set(nsp32_hw_data *data, int bit, int val)
+static void nsp32_prom_set(nsp32_hw_data *data, int bit, int val)
{
int base = data->BaseAddress;
int tmp;
@@ -3405,7 +3405,7 @@
udelay(10);
}

-static inline int nsp32_prom_get(nsp32_hw_data *data, int bit)
+static int nsp32_prom_get(nsp32_hw_data *data, int bit)
{
int base = data->BaseAddress;
int tmp, ret;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/