2.4.0-test11-pre4 compile fixes
PATCH 1/1 2.4.0-test11-pre4 compile fixes
- sound modules: adding __init without <linux/init.h> doesn't seem to work;
- typo in net/ax25/sysctl_net_ax25.c.
drivers/sound/gus_midi.c +1 -0
@@ -14,6 +14,7 @@* 11-10-2000 Bartlomiej Zolnierkiewicz <[email protected]> * Added __init to gus_midi_init() */ +#include <linux/init.h> #include "sound_config.h" #include "gus.h"
drivers/sound/gus_wave.c +1 -0
@@ -19,6 +19,7 @@#include <linux/config.h> +#include <linux/init.h> #define GUSPNP_AUTODETECT
drivers/sound/ics2101.c +1 -0
@@ -14,6 +14,7 @@* Thomas Sailer : ioctl code reworked (vmalloc/vfree removed) * Bartlomiej Zolnierkiewicz : added __init to ics2101_mixer_init() */ +#include <linux/init.h> #include "sound_config.h" #include <linux/ultrasound.h>
drivers/sound/pas2_midi.c +1 -1
@@ -12,7 +12,7 @@* * Bartlomiej Zolnierkiewicz : Added __init to pas_init_mixer() */ - +#include <linux/init.h> #include "sound_config.h" #include "pas2.h"
drivers/sound/pas2_mixer.c +1 -0
@@ -16,6 +16,7 @@* Thomas Sailer : ioctl code reworked (vmalloc/vfree removed) * Bartlomiej Zolnierkiewicz : added __init to pas_init_mixer() */ +#include <linux/init.h> #include "sound_config.h" #include "pas2.h"
drivers/sound/pas2_pcm.c +1 -0
@@ -14,6 +14,7 @@* more things module options. * Bartlomiej Zolnierkiewicz : Added __init to pas_pcm_init() */ +#include <linux/init.h> #include "sound_config.h"
drivers/sound/yss225.c +2 -0
@@ -1,3 +1,5 @@ +#include <linux/init.h> +unsigned char page_zero[]__initdata = {0x01 ,0x7c ,0x00 ,0x1e ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0xf5 ,0x00 ,0x11 ,0x00 ,0x20 ,0x00 ,0x32 ,0x00 ,0x40 ,0x00 ,0x13 ,0x00 ,0x00 ,
net/ax25/sysctl_net_ax25.c +1 -1
@@ -114,7 +114,7 @@memset (ax25_table,0x00 , ax25_table_size);for (n =0 , ax25_dev = ax25_dev_list; ax25_dev !=NULL ; ax25_dev = ax25_dev->next) { - ctl_table *child = kmalloc(sizeof(ax25_param_table, GFP_ATOMIC); +ctl_table *child =kmalloc (sizeof (ax25_param_table),GFP_ATOMIC );if (!child) {while (n--)kfree (ax25_table[n].child);
Signature · 5 lines
Ueimor - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/