[PATCH] 2.5.22 compile fixes

From: Stephen Rothwell (sfr@canb.auug.org.au)
Date: Mon Jun 17 2002 - 00:54:51 EST


Hi Linus,

I needed these to make 2.5.22 build for me.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.22-sfr.1/drivers/scsi/constants.c 2.5.22-sfr.2/drivers/scsi/constants.c --- 2.5.22-sfr.1/drivers/scsi/constants.c Mon Jun 17 14:09:53 2002 +++ 2.5.22-sfr.2/drivers/scsi/constants.c Mon Jun 17 15:35:25 2002 @@ -993,10 +993,13 @@ } #if !(CONSTANTS & CONST_SENSE) + { + int i; printk("Raw sense data:"); for (i = 0; i < s; ++i) printk("0x%02x ", sense_buffer[i]); printk("\n"); + } #endif } diff -ruN 2.5.22-sfr.1/sound/pci/cs46xx/cs46xx.c 2.5.22-sfr.2/sound/pci/cs46xx/cs46xx.c --- 2.5.22-sfr.1/sound/pci/cs46xx/cs46xx.c Sun May 26 19:20:39 2002 +++ 2.5.22-sfr.2/sound/pci/cs46xx/cs46xx.c Mon Jun 17 15:39:06 2002 @@ -28,6 +28,7 @@ #include <sound/driver.h> #include <linux/pci.h> #include <linux/time.h> +#include <linux/init.h> #include <sound/core.h> #include <sound/cs46xx.h> #define SNDRV_GET_ID - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:12 EST