[Compile Regression in 2.4.25-pre8][PATCH 17/42]

Kronos
2004-02-02T19:48:55Z

g_NCR5380.c:212: warning: `do_NCR5380_setup' defined but not used
g_NCR5380.c:230: warning: `do_NCR53C400_setup' defined but not used
g_NCR5380.c:248: warning: `do_NCR53C400A_setup' defined but not used
g_NCR5380.c:266: warning: `do_DTC3181E_setup' defined but not used

These functions are used to handle boot params and are useless when the
driver is modular.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/scsi/g_NCR5380.c linux-2.4/drivers/scsi/g_NCR5380.c
--- linux-2.4-vanilla/drivers/scsi/g_NCR5380.c Tue Nov 11 17:51:39 2003
+++ linux-2.4/drivers/scsi/g_NCR5380.c Sat Jan 31 17:36:59 2004
@@ -146,6 +146,7 @@

#define NO_OVERRIDES (sizeof(overrides) / sizeof(struct override))

+#ifndef MODULE
/**
* internal_setup - handle lilo command string override
* @board: BOARD_* identifier for the board
@@ -270,6 +271,7 @@
internal_setup(BOARD_DTC3181E, str, ints);
return 1;
}
+#endif

/**
* generic_NCR5380_detect - look for NCR5380 controllers

--
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
"Su cio` di cui non si puo` parlare e` bene tacere".
Ludwig Wittgenstein