diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-18 01:20:13 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-18 01:20:13 -0300 |
commit | b90c5f0e8325235ae47f9575093ae460cceb7617 (patch) | |
tree | 136beeb95a24d1a74b40a608504aa1038ecb4914 /pcr/lirc-parabola-grsec/wpc8769l-build-fix.patch | |
parent | e453b8315206bcf251cda45214de0229404f9cd5 (diff) | |
download | abslibre-b90c5f0e8325235ae47f9575093ae460cceb7617.tar.gz abslibre-b90c5f0e8325235ae47f9575093ae460cceb7617.tar.bz2 abslibre-b90c5f0e8325235ae47f9575093ae460cceb7617.zip |
remove deprecated module packages
Diffstat (limited to 'pcr/lirc-parabola-grsec/wpc8769l-build-fix.patch')
-rw-r--r-- | pcr/lirc-parabola-grsec/wpc8769l-build-fix.patch | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/pcr/lirc-parabola-grsec/wpc8769l-build-fix.patch b/pcr/lirc-parabola-grsec/wpc8769l-build-fix.patch deleted file mode 100644 index 5e25693ab..000000000 --- a/pcr/lirc-parabola-grsec/wpc8769l-build-fix.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff --git a/drivers/lirc_wpc8769l/lirc_wpc8769l.c b/drivers/lirc_wpc8769l/lirc_wpc8769l.c -index 790efa2..4248fe9 100644 ---- a/drivers/lirc_wpc8769l/lirc_wpc8769l.c -+++ b/drivers/lirc_wpc8769l/lirc_wpc8769l.c -@@ -51,17 +51,13 @@ - #include <linux/irq.h> - - #include <linux/acpi.h> -+#include <linux/types.h> - - #include <linux/platform_device.h> -+#include <asm-generic/bitops/find.h> - --#include "drivers/kcompat.h" --#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 35) --#include <media/lirc.h> --#include <media/lirc_dev.h> --#else --#include "drivers/lirc.h" --#include "drivers/lirc_dev/lirc_dev.h" --#endif -+#include "media/lirc_dev.h" -+#include "media/lirc.h" - - #include "lirc_wpc8769l.h" - -@@ -105,11 +101,11 @@ static unsigned int baseport2; - static unsigned int irq; - - /* Debugging flag. */ --static int debug; -+static bool debug; - - /* If true, we skip ACPI autodetection and use the parameter-supplied I/O and - * IRQ. */ --static int skip_probe; -+static bool skip_probe; - - /* Whether the device is open or not. */ - static int lirc_wpc8769l_is_open; -@@ -360,14 +356,14 @@ static irqreturn_t irq_handler(int irqno, void *blah, struct pt_regs *regs) - size = count << 3; - - ldata = (unsigned long *) data_buf; -- next_one = generic_find_next_le_bit(ldata, size, 0); -+ next_one = find_next_bit(ldata, size, 0); - - if (next_one > 0) - put_pulse_bit(next_one - * WPC8769L_USECS_PER_BIT); - - while (next_one < size) { -- next_zero = generic_find_next_zero_le_bit(ldata, -+ next_zero = find_next_zero_bit(ldata, - size, next_one + 1); - - put_space_bit( -@@ -375,7 +371,7 @@ static irqreturn_t irq_handler(int irqno, void *blah, struct pt_regs *regs) - * WPC8769L_USECS_PER_BIT); - - if (next_zero < size) { -- next_one = generic_find_next_le_bit(ldata, -+ next_one = find_next_bit(ldata, - size, next_zero + 1); - - put_pulse_bit( -@@ -922,12 +918,12 @@ static int wpc8769l_acpi_detect(void) - #ifdef MODULE - static struct platform_device *lirc_wpc8769l_platform_dev; - --static int __devinit lirc_wpc8769l_probe(struct platform_device *dev) -+static int lirc_wpc8769l_probe(struct platform_device *dev) - { - return 0; - } - --static int __devexit lirc_wpc8769l_remove(struct platform_device *dev) -+static int lirc_wpc8769l_remove(struct platform_device *dev) - { - return 0; - } -@@ -955,7 +951,7 @@ static int lirc_wpc8769l_resume(struct platform_device *dev) - - static struct platform_driver lirc_wpc8769l_platform_driver = { - .probe = lirc_wpc8769l_probe, -- .remove = __devexit_p(lirc_wpc8769l_remove), -+ .remove = lirc_wpc8769l_remove, - .suspend = lirc_wpc8769l_suspend, - .resume = lirc_wpc8769l_resume, - .driver = { |