wok diff broadcom-wl64/stuff/3.4.0.patch @ rev 21494

updated mtd-utils (1.5.0 -> 2.1.0)
author Hans-G?nter Theisgen
date Thu May 02 12:47:36 2019 +0100 (2019-05-02)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/broadcom-wl64/stuff/3.4.0.patch	Thu May 02 12:47:36 2019 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +Description: Enable compilation with 3.4 kernels
     1.5 +Author: Eugene San (eugenesan) <eugenesan@gmail.com>
     1.6 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/994255
     1.7 +Last-Update: 2012-05-07
     1.8 +
     1.9 +--- a/amd64/src/wl/sys/wl_linux.c
    1.10 ++++ b/amd64/src/wl/sys/wl_linux.c
    1.11 +@@ -40,7 +40,9 @@
    1.12 + #include <linux/pci_ids.h>
    1.13 + #define WLC_MAXBSSCFG		1	
    1.14 + 
    1.15 ++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
    1.16 + #include <asm/system.h>
    1.17 ++#endif
    1.18 + #include <asm/io.h>
    1.19 + #include <asm/irq.h>
    1.20 + #include <asm/pgtable.h>