wok annotate broadcom-wl64/stuff/3.4.0.patch @ rev 24385

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