patch-2.3.13 linux/drivers/scsi/g_NCR5380.c

Next file: linux/drivers/scsi/gdth.c
Previous file: linux/drivers/scsi/fdomain.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/scsi/g_NCR5380.c linux/drivers/scsi/g_NCR5380.c
@@ -158,7 +158,7 @@
  *
  */
 
-__initfunc(static void internal_setup(int board, char *str, int *ints)) {
+static void __init internal_setup(int board, char *str, int *ints){
     static int commandline_current = 0;
     switch (board) {
     case BOARD_NCR5380:
@@ -204,7 +204,7 @@
  * 	equal to the number of ints.
  */
 
-__initfunc(void generic_NCR5380_setup (char *str, int *ints)) {
+void __init generic_NCR5380_setup (char *str, int *ints){
     internal_setup (BOARD_NCR5380, str, ints);
 }
 
@@ -217,7 +217,7 @@
  * 	equal to the number of ints.
  */
 
-__initfunc(void generic_NCR53C400_setup (char *str, int *ints)) {
+void __init generic_NCR53C400_setup (char *str, int *ints){
     internal_setup (BOARD_NCR53C400, str, ints);
 }
 
@@ -259,7 +259,7 @@
  *
  */
 
-__initfunc(int generic_NCR5380_detect(Scsi_Host_Template * tpnt)) {
+int __init generic_NCR5380_detect(Scsi_Host_Template * tpnt){
     static int current_override = 0;
     int count, i;
     u_int *ports;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)