[packages] libs/libmpcdec: use fixed-point math
[openwrt/svn-archive/archive.git] / utils / lirc / patches / 100-kcompat.patch
1 --- a/drivers/kcompat.h
2 +++ b/drivers/kcompat.h
3 @@ -53,7 +53,13 @@
4
5 #else /* >= 2.6.15 */
6
7 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)
8 +#define lirc_class_device_create device_create_drvdata
9 +#define class_device_destroy device_destroy
10 +#else
11 #define lirc_class_device_create class_device_create
12 +#endif
13 +
14 #define LIRC_DEVFS_PREFIX
15
16 #endif