compile warning cleanups
Subsystems (2)
PATCH 1/1 compile warning cleanups
Linus,
a couple of compile warning cleanups that I've had in my tree for a long time. Please apply.
Cheers, Andreas
===========================================================================
drivers/scsi/aha1542.c +1 -1
@@ -111,7 +111,6 @@static int setup_busoff[MAXBOARDS ];static int setup_dmaspeed[MAXBOARDS ]__initdata = {-1 ,-1 ,-1 ,-1 }; -static char *setup_str[MAXBOARDS ]__initdata ;/* * LILO/Module params: aha1542=<PORTBASE>[,<BUSON>,<BUSOFF>[,<DMASPEED>]]
@@ -960,6 +959,7 @@#ifndef MODULE static int setup_idx =0 ; +static char *setup_str[MAXBOARDS ]__initdata ;void __init aha1542_setup (char *str,int *ints) {
drivers/sound/cs4232.c +3 -1
@@ -324,7 +324,6 @@static int __initdata mpuio =-1 ;static int __initdata mpuirq =-1 ;static int __initdata synthio =-1 ; -static int __initdata synthirq =-1 ;static int __initdata isapnp =1 ;MODULE_DESCRIPTION ("CS4232 based soundcard driver" );
@@ -345,8 +344,11 @@MODULE_PARM_DESC (mpuirq,"MPU 401 IRQ" );MODULE_PARM (synthio,"i" );MODULE_PARM_DESC (synthio,"Maui WaveTable base I/O port" ); +#ifdef CONFIG_SOUND_WAVEFRONT_MODULE +static int __initdata synthirq =-1 ;MODULE_PARM (synthirq,"i" );MODULE_PARM_DESC (synthirq,"Maui WaveTable IRQ" ); +#endif MODULE_PARM (isapnp,"i" );MODULE_PARM_DESC (isapnp,"Enable ISAPnP probing (default 1)" );
net/irda/irda_device.c +2 -0
@@ -78,6 +78,7 @@ "TV_REMOTE", }; +#ifdef CONFIG_IRDA_DEBUG static const char *task_state[] = {"IRDA_TASK_INIT" , "IRDA_TASK_DONE",
@@ -89,6 +90,7 @@"IRDA_TASK_CHILD_WAIT" , "IRDA_TASK_CHILD_DONE", }; +#endif static void irda_task_timer_expired (void *data);
net/irda/iriap.c +2 -0
@@ -41,6 +41,7 @@#include <net/irda/iriap.h> /* FIXME: This one should go in irlmp.c */ +#ifdef CONFIG_IRDA_DEBUG static const char *ias_charset_types[] = {"CS_ASCII" , "CS_ISO_8859_1",
@@ -54,6 +55,7 @@"CS_ISO_8859_9" ,"CS_UNICODE" }; +#endif static hashbin_t *iriap =NULL ;static __u32 service_handle;
net/irda/irlap.c +2 -0
@@ -53,6 +53,7 @@extern void irlap_queue_xmit (struct irlap_cb *self,struct sk_buff *skb);static void __irlap_close (struct irlap_cb *self); +#ifdef CONFIG_IRDA_DEBUG static char *lap_reasons[] = {"ERROR, NOT USED" , "LAP_DISC_INDICATION",
@@ -63,6 +64,7 @@"LAP_PRIMARY_CONFLICT" , "ERROR, NOT USED", }; +#endif #ifdef CONFIG_PROC_FS int irlap_proc_read (char *,char **,off_t ,int );
net/irda/irlap_event.c +2 -0
@@ -76,6 +76,7 @@static int irlap_state_reset_check (struct irlap_cb *,IRLAP_EVENT event,struct sk_buff *,struct irlap_info *); +#ifdef CONFIG_IRDA_DEBUG static const char *irlap_event[] = {"DISCOVERY_REQUEST" , "CONNECT_REQUEST",
@@ -115,6 +116,7 @@"WD_TIMER_EXPIRED" , "BACKOFF_TIMER_EXPIRED", }; +#endif const char *irlap_state[] = {"LAP_NDM" ,
net/irda/irlmp_event.c +2 -0
@@ -48,6 +48,7 @@ "LSAP_SETUP_PEND", }; +#ifdef CONFIG_IRDA_DEBUG static const char *irlmp_event[] = {"LM_CONNECT_REQUEST" , "LM_CONNECT_CONFIRM",
@@ -74,6 +75,7 @@"LM_LAP_DISCOVERY_CONFIRM" , "LM_LAP_IDLE_TIMEOUT", }; +#endif /* LAP Connection control proto declarations */ static void irlmp_state_standby (struct lap_cb *, IRLMP_EVENT,
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/