wok-current view broadcom-wl/stuff/3.4.0.patch @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents
children
line source
1 Description: Enable compilation with 3.4 kernels
2 Author: Eugene San (eugenesan) <eugenesan@gmail.com>
3 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/994255
4 Last-Update: 2012-05-07
6 --- a/amd64/src/wl/sys/wl_linux.c
7 +++ b/amd64/src/wl/sys/wl_linux.c
8 @@ -40,7 +40,9 @@
9 #include <linux/pci_ids.h>
10 #define WLC_MAXBSSCFG 1
12 +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
13 #include <asm/system.h>
14 +#endif
15 #include <asm/io.h>
16 #include <asm/irq.h>
17 #include <asm/pgtable.h>