Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 301321 | Differences between
and this patch

Collapse All | Expand All

(-)lirc-0.8.6/drivers/lirc_dev/lirc_dev.c.old (+4 lines)
Lines 32-38 Link Here
32
#error "**********************************************************"
32
#error "**********************************************************"
33
#endif
33
#endif
34
34
35
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
35
#include <linux/autoconf.h>
36
#include <linux/autoconf.h>
37
#else
38
#include <generated/autoconf.h>
39
#endif
36
#include <linux/module.h>
40
#include <linux/module.h>
37
#include <linux/kernel.h>
41
#include <linux/kernel.h>
38
#include <linux/sched.h>
42
#include <linux/sched.h>
(-)lirc-0.8.6/drivers/lirc_sir/lirc_sir.c.old (+4 lines)
Lines 45-51 Link Here
45
# include <config.h>
45
# include <config.h>
46
#endif
46
#endif
47
47
48
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
48
#include <linux/autoconf.h>
49
#include <linux/autoconf.h>
50
#else
51
#include <generated/autoconf.h>
52
#endif
49
#if !defined(CONFIG_SERIAL_MODULE)
53
#if !defined(CONFIG_SERIAL_MODULE)
50
#if !defined(LIRC_ON_SA1100)
54
#if !defined(LIRC_ON_SA1100)
51
#warning "******************************************"
55
#warning "******************************************"
(-)lirc-0.8.6/drivers/lirc_serial/lirc_serial.c.old (+4 lines)
Lines 60-66 Link Here
60
#error "**********************************************************"
60
#error "**********************************************************"
61
#endif
61
#endif
62
62
63
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
63
#include <linux/autoconf.h>
64
#include <linux/autoconf.h>
65
#else
66
#include <generated/autoconf.h>
67
#endif
64
68
65
#if defined(CONFIG_SERIAL) || defined(CONFIG_SERIAL_8250)
69
#if defined(CONFIG_SERIAL) || defined(CONFIG_SERIAL_8250)
66
#warning "******************************************"
70
#warning "******************************************"
(-)lirc-0.8.6/drivers/lirc_bt829/lirc_bt829.c.old (+4 lines)
Lines 22-28 Link Here
22
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
22
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
23
#error "This driver needs kernel version 2.4.0 or higher"
23
#error "This driver needs kernel version 2.4.0 or higher"
24
#endif
24
#endif
25
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
25
#include <linux/autoconf.h>
26
#include <linux/autoconf.h>
27
#else
28
#include <generated/autoconf.h>
29
#endif
26
#include <linux/kernel.h>
30
#include <linux/kernel.h>
27
#include <linux/module.h>
31
#include <linux/module.h>
28
#include <linux/threads.h>
32
#include <linux/threads.h>
(-)lirc-0.8.6/drivers/lirc_sasem/lirc_sasem.c.old (+4 lines)
Lines 41-47 Link Here
41
#error "*** Sorry, this driver requires kernel version 2.4.22 or higher"
41
#error "*** Sorry, this driver requires kernel version 2.4.22 or higher"
42
#endif
42
#endif
43
43
44
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
44
#include <linux/autoconf.h>
45
#include <linux/autoconf.h>
46
#else
47
#include <generated/autoconf.h>
48
#endif
45
49
46
#include <linux/errno.h>
50
#include <linux/errno.h>
47
#include <linux/init.h>
51
#include <linux/init.h>
(-)lirc-0.8.6/drivers/lirc_igorplugusb/lirc_igorplugusb.c.old (+4 lines)
Lines 47-53 Link Here
47
#error "*******************************************************"
47
#error "*******************************************************"
48
#endif
48
#endif
49
49
50
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
50
#include <linux/autoconf.h>
51
#include <linux/autoconf.h>
52
#else
53
#include <generated/autoconf.h>
54
#endif
51
#include <linux/module.h>
55
#include <linux/module.h>
52
#include <linux/kernel.h>
56
#include <linux/kernel.h>
53
#include <linux/kmod.h>
57
#include <linux/kmod.h>
(-)lirc-0.8.6/drivers/lirc_imon/lirc_imon.c.old (+4 lines)
Lines 30-36 Link Here
30
#error "*** Sorry, this driver requires a 2.6 kernel"
30
#error "*** Sorry, this driver requires a 2.6 kernel"
31
#endif
31
#endif
32
32
33
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
33
#include <linux/autoconf.h>
34
#include <linux/autoconf.h>
35
#else
36
#include <generated/autoconf.h>
37
#endif
34
38
35
#include <linux/errno.h>
39
#include <linux/errno.h>
36
#include <linux/init.h>
40
#include <linux/init.h>
(-)lirc-0.8.6/drivers/lirc_it87/lirc_it87.c.old (+4 lines)
Lines 36-42 Link Here
36
36
37
#include <linux/version.h>
37
#include <linux/version.h>
38
#include <linux/module.h>
38
#include <linux/module.h>
39
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
39
#include <linux/autoconf.h>
40
#include <linux/autoconf.h>
41
#else
42
#include <generated/autoconf.h>
43
#endif
40
#include <linux/sched.h>
44
#include <linux/sched.h>
41
#include <linux/errno.h>
45
#include <linux/errno.h>
42
#include <linux/signal.h>
46
#include <linux/signal.h>
(-)lirc-0.8.6/drivers/lirc_streamzap/lirc_streamzap.c.old (+4 lines)
Lines 35-41 Link Here
35
#error "Sorry, this driver needs kernel version 2.4.0 or higher"
35
#error "Sorry, this driver needs kernel version 2.4.0 or higher"
36
#error "*******************************************************"
36
#error "*******************************************************"
37
#endif
37
#endif
38
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
38
#include <linux/autoconf.h>
39
#include <linux/autoconf.h>
40
#else
41
#include <generated/autoconf.h>
42
#endif
39
#include <linux/kernel.h>
43
#include <linux/kernel.h>
40
#include <linux/errno.h>
44
#include <linux/errno.h>
41
#include <linux/init.h>
45
#include <linux/init.h>
(-)lirc-0.8.6/drivers/lirc_atiusb/lirc_atiusb.c.old (+4 lines)
Lines 43-49 Link Here
43
#error "*******************************************************"
43
#error "*******************************************************"
44
#endif
44
#endif
45
45
46
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
46
#include <linux/autoconf.h>
47
#include <linux/autoconf.h>
48
#else
49
#include <generated/autoconf.h>
50
#endif
47
51
48
#include <linux/kernel.h>
52
#include <linux/kernel.h>
49
#include <linux/errno.h>
53
#include <linux/errno.h>
(-)lirc-0.8.6/drivers/lirc_parallel/lirc_parallel.c.old (+8 lines)
Lines 34-40 Link Here
34
#error "**********************************************************"
34
#error "**********************************************************"
35
#endif
35
#endif
36
36
37
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
37
#include <linux/autoconf.h>
38
#include <linux/autoconf.h>
39
#else
40
#include <generated/autoconf.h>
41
#endif
38
#ifdef CONFIG_SMP
42
#ifdef CONFIG_SMP
39
#error "--- Sorry, this driver is not SMP safe. ---"
43
#error "--- Sorry, this driver is not SMP safe. ---"
40
#endif
44
#endif
Lines 43-49 Link Here
43
#include <linux/sched.h>
47
#include <linux/sched.h>
44
#include <linux/errno.h>
48
#include <linux/errno.h>
45
#include <linux/signal.h>
49
#include <linux/signal.h>
50
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
46
#include <linux/autoconf.h>
51
#include <linux/autoconf.h>
52
#else
53
#include <generated/autoconf.h>
54
#endif
47
#include <linux/fs.h>
55
#include <linux/fs.h>
48
#include <linux/kernel.h>
56
#include <linux/kernel.h>
49
#include <linux/ioport.h>
57
#include <linux/ioport.h>
(-)lirc-0.8.6/drivers/lirc_wpc8769l/lirc_wpc8769l.c.old (+4 lines)
Lines 37-43 Link Here
37
#error "**********************************************************"
37
#error "**********************************************************"
38
#endif
38
#endif
39
39
40
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
40
#include <linux/autoconf.h>
41
#include <linux/autoconf.h>
42
#else
43
#include <generated/autoconf.h>
44
#endif
41
45
42
#include <linux/module.h>
46
#include <linux/module.h>
43
#include <linux/errno.h>
47
#include <linux/errno.h>
(-)lirc-0.8.6/drivers/lirc_mceusb/lirc_mceusb.c.old (+4 lines)
Lines 52-58 Link Here
52
#error "Sorry, this driver needs kernel version 2.6.5 or higher"
52
#error "Sorry, this driver needs kernel version 2.6.5 or higher"
53
#error "*******************************************************"
53
#error "*******************************************************"
54
#endif
54
#endif
55
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
55
#include <linux/autoconf.h>
56
#include <linux/autoconf.h>
57
#else
58
#include <generated/autoconf.h>
59
#endif
56
#include <linux/kernel.h>
60
#include <linux/kernel.h>
57
#include <linux/errno.h>
61
#include <linux/errno.h>
58
#include <linux/init.h>
62
#include <linux/init.h>

Return to bug 301321