Skip to contentSkip to conversation

SCSI nsp32.c: missing parts of inline removal patch

PATCH New Adrian Bunk 1 participant 1 message Aug 3, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SCSI nsp32.c: missing parts of inline removal patch

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.

drivers/scsi/nsp32.c renamed from drivers/scsi/nsp32.c.old +2 -2
@@ -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;