summaryrefslogtreecommitdiff
path: root/linux/sound/pci/bt87x.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/sound/pci/bt87x.c')
-rw-r--r--linux/sound/pci/bt87x.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/sound/pci/bt87x.c b/linux/sound/pci/bt87x.c
index 86c922635..ec58f2795 100644
--- a/linux/sound/pci/bt87x.c
+++ b/linux/sound/pci/bt87x.c
@@ -21,7 +21,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <sound/driver.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
@@ -29,6 +28,9 @@
#include <linux/moduleparam.h>
#include <linux/bitops.h>
#include <asm/io.h>
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,24)
+#include <sound/driver.h>
+#endif
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>