Commit e784b458 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] 2.5.22 compile fixes

I needed these to make 2.5.22 build for me.
parent 64088985
...@@ -993,10 +993,13 @@ print_sense_internal(const char * devclass, ...@@ -993,10 +993,13 @@ print_sense_internal(const char * devclass,
} }
#if !(CONSTANTS & CONST_SENSE) #if !(CONSTANTS & CONST_SENSE)
{
int i;
printk("Raw sense data:"); printk("Raw sense data:");
for (i = 0; i < s; ++i) for (i = 0; i < s; ++i)
printk("0x%02x ", sense_buffer[i]); printk("0x%02x ", sense_buffer[i]);
printk("\n"); printk("\n");
}
#endif #endif
} }
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <sound/driver.h> #include <sound/driver.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/init.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/cs46xx.h> #include <sound/cs46xx.h>
#define SNDRV_GET_ID #define SNDRV_GET_ID
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment