Maybe until an upgrade to a new upstream version the attached patch
might be worth an upload.

Tobias

#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_compat_2.6.27.dpatch by Tobias Grimm <[email protected]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix compatibility with the 2.6.27 kernel.
## DP: <asm/semaphore.h> --> <linux/semaphore.h>

@DPATCH@
diff -urNad em8300-0.16.4~/modules/em8300_alsa.c 
em8300-0.16.4/modules/em8300_alsa.c
--- em8300-0.16.4~/modules/em8300_alsa.c        2007-03-16 23:02:31.000000000 
+0100
+++ em8300-0.16.4/modules/em8300_alsa.c 2009-05-15 00:05:54.000000000 +0200
@@ -30,7 +30,7 @@
 #include <linux/pci.h>
 #include <linux/stringify.h>
 #include <linux/version.h>
-#include <asm/semaphore.h>
+#include <linux/semaphore.h>
 
 #include "em8300_reg.h"
 
diff -urNad em8300-0.16.4~/modules/em8300_fifo.h 
em8300-0.16.4/modules/em8300_fifo.h
--- em8300-0.16.4~/modules/em8300_fifo.h        2004-03-14 21:00:19.000000000 
+0100
+++ em8300-0.16.4/modules/em8300_fifo.h 2009-05-15 00:05:59.000000000 +0200
@@ -1,7 +1,7 @@
 #ifndef EM8300_FIFO_H
 #define EM8300_FIFO_H
 
-#include <asm/semaphore.h>
+#include <linux/semaphore.h>
 
 #define FIFOTYPE_AUDIO 1
 #define FIFOTYPE_VIDEO 2

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to