patch-2.4.4 linux/drivers/s390/net/iucv.c

Next file: linux/drivers/s390/net/netiucv.c
Previous file: linux/drivers/s390/net/ctctty.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/s390/net/iucv.c linux/drivers/s390/net/iucv.c
@@ -9,7 +9,7 @@
  *               Alan Altmark (Alan_Altmark@us.ibm.com)
  */
 
-#include <linux/config.h>
+#include <linux/module.h>
 #include <linux/version.h>
 #include <linux/spinlock.h>
 #include <linux/kernel.h>
@@ -29,10 +29,6 @@
 //#define DEBUG         /* Turns Printk's on                         */
 //#define DEBUG2        /* This prints the parameter list before and */
 		      /* after the b2f0 call to cp                 */
-#ifdef CONFIG_MODULES
-#define EXPORT_SYMTAB
-#include <linux/module.h>
-#endif
 #undef NULL
 #define NULL 0
 #define ADDED_STOR 64		/* ADDITIONAL STORAGE FOR PATHID @'S */
@@ -2021,7 +2017,6 @@
 	return 0;
 }
 
-#ifdef CONFIG_MODULES
 EXPORT_SYMBOL (iucv_accept);
 EXPORT_SYMBOL (iucv_connect);
 EXPORT_SYMBOL (iucv_purge);
@@ -2046,5 +2041,4 @@
 EXPORT_SYMBOL (iucv_sever);
 EXPORT_SYMBOL (iucv_register_program);
 EXPORT_SYMBOL (iucv_unregister);
-#endif
 

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