Remove more compile warnings from 2.4.0-prerelease
PATCH 1/1 Remove more compile warnings from 2.4.0-prerelease
Here's my patch again since Alan didn't get it.
drivers/i2c/i2c-pcf8584.h +1 -1
@@ -75,4 +75,4 @@#define I2C_PCF_INTREG I2C_PCF_ES2#define I2C_PCF_CLKREG I2C_PCF_ES1 -#endif I2C_PCF8584_H +#endif /* I2C_PCF8584_H */
drivers/i2o/i2o_lan.c +1 -1
@@ -938,7 +938,7 @@spin_unlock_irq (&priv->tx_lock); return 0; } -#endif CONFIG_NET_FC +#endif /* CONFIG_NET_FC */ /* * i2o_lan_packet_send(): Send a packet as is, including the MAC header.
drivers/isdn/hisax/hisax.h +6 -6
@@ -126,13 +126,13 @@#define l3dss1_process#include "l3dss1.h" #undef l3dss1_process -#endif CONFIG_HISAX_EURO +#endif /* CONFIG_HISAX_EURO */ #ifdef CONFIG_HISAX_NI1 #define l3ni1_process#include "l3ni1.h" #undef l3ni1_process -#endif CONFIG_HISAX_NI1 +#endif /* CONFIG_HISAX_NI1 */ #define MAX_DFRAME_LEN 260#define MAX_DFRAME_LEN_L1 300
@@ -318,10 +318,10 @@ {u_char uuuu;/* only as dummy */ #ifdef CONFIG_HISAX_EURO dss1_stk_priv dss1;/* private dss1 data */ -#endif CONFIG_HISAX_EURO +#endif /* CONFIG_HISAX_EURO */ #ifdef CONFIG_HISAX_NI1 ni1_stk_priv ni1;/* private ni1 data */ -#endif CONFIG_HISAX_NI1 +#endif /* CONFIG_HISAX_NI1 */ } prot; };
@@ -342,10 +342,10 @@ {u_char uuuu;/* only when euro not defined, avoiding empty union */ #ifdef CONFIG_HISAX_EURO dss1_proc_priv dss1;/* private dss1 data */ -#endif CONFIG_HISAX_EURO +#endif /* CONFIG_HISAX_EURO */ #ifdef CONFIG_HISAX_NI1 ni1_proc_priv ni1;/* private ni1 data */ -#endif CONFIG_HISAX_NI1 +#endif /* CONFIG_HISAX_NI1 */ } prot; };
drivers/isdn/isdn_common.c +8 -8
@@ -41,7 +41,7 @@#endif #ifdef CONFIG_ISDN_DIVERSION #include <linux/isdn_divertif.h> -#endif CONFIG_ISDN_DIVERSION +#endif /* CONFIG_ISDN_DIVERSION */ #include "isdn_v110.h" #include "isdn_cards.h" #include <linux/devfs_fs_kernel.h>
@@ -69,7 +69,7 @@#ifdef CONFIG_ISDN_DIVERSION isdn_divert_if *divert_if;/* interface to diversion module */ -#endif CONFIG_ISDN_DIVERSION +#endif /* CONFIG_ISDN_DIVERSION */ static int isdn_writebuf_stub (int ,int ,const u_char *,int ,int );
@@ -519,7 +519,7 @@if (divert_if)if ((retval = divert_if->stat_callback (c)))return (retval);/* processed */ -#endif CONFIG_ISDN_DIVERSION +#endif /* CONFIG_ISDN_DIVERSION */ if ((!retval) && (dev->drv[di]->flags &DRV_FLAG_REJBUS )) {/* No tty responding */ cmd.driver = di;
@@ -592,7 +592,7 @@#ifdef CONFIG_ISDN_DIVERSION if (divert_if) divert_if->stat_callback (c); -#endif CONFIG_ISDN_DIVERSION +#endif /* CONFIG_ISDN_DIVERSION */ break ;case ISDN_STAT_DISPLAY :#ifdef ISDN_DEBUG_STATCALLB
@@ -602,7 +602,7 @@#ifdef CONFIG_ISDN_DIVERSION if (divert_if) divert_if->stat_callback (c); -#endif CONFIG_ISDN_DIVERSION +#endif /* CONFIG_ISDN_DIVERSION */ break ;case ISDN_STAT_DCONN :if (i <0 )
@@ -644,7 +644,7 @@#ifdef CONFIG_ISDN_DIVERSION if (divert_if) divert_if->stat_callback (c); -#endif CONFIG_ISDN_DIVERSION +#endif /* CONFIG_ISDN_DIVERSION */ break ;break ;case ISDN_STAT_BCONN :
@@ -773,7 +773,7 @@case ISDN_STAT_REDIR :if (divert_if)return (divert_if->stat_callback (c)); -#endif CONFIG_ISDN_DIVERSION +#endif /* CONFIG_ISDN_DIVERSION */ default :return -1 ; }
@@ -2167,7 +2167,7 @@EXPORT_SYMBOL (DIVERT_REG_NAME ); -#endif CONFIG_ISDN_DIVERSION +#endif /* CONFIG_ISDN_DIVERSION */ EXPORT_SYMBOL (register_isdn);
include/linux/802_11.h +2 -1
@@ -188,4 +188,5 @@ } -#endif +#endif +
include/linux/nubus.h +1 -1
@@ -319,4 +319,4 @@ return (void *)(0xF0000000|(slot<<24)); } -#endif LINUX_NUBUS_H +#endif /* LINUX_NUBUS_H */