From dec94bfd742ec72feabfe61cab4d0ef32ea5f0a2 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 14 Jun 2007 09:53:50 +0000 Subject: [PATCH] Make empcd compile on 2.4 SVN-Revision: 7629 --- sound/empcd/patches/001-input_defs.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sound/empcd/patches/001-input_defs.patch diff --git a/sound/empcd/patches/001-input_defs.patch b/sound/empcd/patches/001-input_defs.patch new file mode 100644 index 0000000000..66fa49f9bf --- /dev/null +++ b/sound/empcd/patches/001-input_defs.patch @@ -0,0 +1,14 @@ +diff -urN empcd/empcd.h empcd.new/empcd.h +--- empcd/empcd.h 2005-11-29 01:35:30.000000000 +0100 ++++ empcd.new/empcd.h 2007-06-14 11:54:14.000000000 +0200 +@@ -24,6 +24,10 @@ + #include + + /* Linux specific... */ ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) ++#define EVIOCGRAB _IOW('E', 0x90, int) /* Grab/Release device */ ++#endif + #include + + #ifndef NULL -- 2.30.2