mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
15 lines
381 B
Diff
15 lines
381 B
Diff
From: Eugene San (eugenesan) <eugenesan@gmail.com>
|
|
Subject: [PATCH 1/1] add support for linux 3.4
|
|
--- a/src/wl/sys/wl_linux.c
|
|
+++ b/src/wl/sys/wl_linux.c
|
|
@@ -40,7 +40,9 @@
|
|
#include <linux/pci_ids.h>
|
|
#define WLC_MAXBSSCFG 1
|
|
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 1)
|
|
#include <asm/system.h>
|
|
+#endif
|
|
#include <asm/io.h>
|
|
#include <asm/irq.h>
|
|
#include <asm/pgtable.h>
|