* [PATCH] compat: rename compat-3.5.c to compat-3.4.c
@ 2012-05-24 13:29 Felix Fietkau
2012-05-25 0:51 ` Luis R. Rodriguez
0 siblings, 1 reply; 4+ messages in thread
From: Felix Fietkau @ 2012-05-24 13:29 UTC (permalink / raw)
To: linux-wireless; +Cc: mcgrof
It only contains simple_open, which is already available on Linux 3.4.
Fixes duplicate symbol issues on 3.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
compat/Makefile | 2 +-
compat/compat-3.4.c | 20 ++++++++++++++++++++
compat/compat-3.5.c | 20 --------------------
3 files changed, 21 insertions(+), 21 deletions(-)
create mode 100644 compat/compat-3.4.c
delete mode 100644 compat/compat-3.5.c
diff --git a/compat/Makefile b/compat/Makefile
index bda677b..667e727 100644
--- a/compat/Makefile
+++ b/compat/Makefile
@@ -37,7 +37,7 @@ compat-$(CONFIG_COMPAT_KERNEL_2_6_39) += \
compat-$(CONFIG_COMPAT_KERNEL_3_0) += compat-3.0.o
compat-$(CONFIG_COMPAT_KERNEL_3_2) += compat-3.2.o
compat-$(CONFIG_COMPAT_KERNEL_3_3) += compat-3.3.o
-compat-$(CONFIG_COMPAT_KERNEL_3_5) += compat-3.5.o
+compat-$(CONFIG_COMPAT_KERNEL_3_4) += compat-3.4.o
compat-$(CONFIG_COMPAT_CORDIC) += cordic.o
compat-$(CONFIG_COMPAT_CRC8) += crc8.o
diff --git a/compat/compat-3.4.c b/compat/compat-3.4.c
new file mode 100644
index 0000000..5d516f0
--- /dev/null
+++ b/compat/compat-3.4.c
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2012 Luis R. Rodriguez <mcgrof@frijolero.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Compatibility file for Linux wireless for kernels 3.5.
+ */
+
+#include <linux/fs.h>
+#include <linux/module.h>
+
+int simple_open(struct inode *inode, struct file *file)
+{
+ if (inode->i_private)
+ file->private_data = inode->i_private;
+ return 0;
+}
+EXPORT_SYMBOL_GPL(simple_open);
diff --git a/compat/compat-3.5.c b/compat/compat-3.5.c
deleted file mode 100644
index 5d516f0..0000000
--- a/compat/compat-3.5.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2012 Luis R. Rodriguez <mcgrof@frijolero.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * Compatibility file for Linux wireless for kernels 3.5.
- */
-
-#include <linux/fs.h>
-#include <linux/module.h>
-
-int simple_open(struct inode *inode, struct file *file)
-{
- if (inode->i_private)
- file->private_data = inode->i_private;
- return 0;
-}
-EXPORT_SYMBOL_GPL(simple_open);
--
1.7.3.2
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] compat: rename compat-3.5.c to compat-3.4.c
2012-05-24 13:29 [PATCH] compat: rename compat-3.5.c to compat-3.4.c Felix Fietkau
@ 2012-05-25 0:51 ` Luis R. Rodriguez
2012-05-25 2:02 ` Felix Fietkau
0 siblings, 1 reply; 4+ messages in thread
From: Luis R. Rodriguez @ 2012-05-25 0:51 UTC (permalink / raw)
To: Felix Fietkau; +Cc: linux-wireless
On Thu, May 24, 2012 at 6:29 AM, Felix Fietkau <nbd@openwrt.org> wrote:
> It only contains simple_open, which is already available on Linux 3.4.
> Fixes duplicate symbol issues on 3.4
>
> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Thanks! The equivalent change was required from
include/linux/compat-3.5.h to include/linux/compat-3.4.h, I took care
of that though, merged and I'll push this shortly!
Luis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] compat: rename compat-3.5.c to compat-3.4.c
2012-05-25 0:51 ` Luis R. Rodriguez
@ 2012-05-25 2:02 ` Felix Fietkau
2012-05-25 2:03 ` Luis R. Rodriguez
0 siblings, 1 reply; 4+ messages in thread
From: Felix Fietkau @ 2012-05-25 2:02 UTC (permalink / raw)
To: Luis R. Rodriguez; +Cc: linux-wireless
On 2012-05-25 2:51 AM, Luis R. Rodriguez wrote:
> On Thu, May 24, 2012 at 6:29 AM, Felix Fietkau <nbd@openwrt.org> wrote:
>> It only contains simple_open, which is already available on Linux 3.4.
>> Fixes duplicate symbol issues on 3.4
>>
>> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
>
> Thanks! The equivalent change was required from
> include/linux/compat-3.5.h to include/linux/compat-3.4.h, I took care
> of that though, merged and I'll push this shortly!
Yeah, v2 had that as well.
- Felix
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] compat: rename compat-3.5.c to compat-3.4.c
2012-05-25 2:02 ` Felix Fietkau
@ 2012-05-25 2:03 ` Luis R. Rodriguez
0 siblings, 0 replies; 4+ messages in thread
From: Luis R. Rodriguez @ 2012-05-25 2:03 UTC (permalink / raw)
To: Felix Fietkau; +Cc: linux-wireless
On Thu, May 24, 2012 at 7:02 PM, Felix Fietkau <nbd@openwrt.org> wrote:
> On 2012-05-25 2:51 AM, Luis R. Rodriguez wrote:
>> On Thu, May 24, 2012 at 6:29 AM, Felix Fietkau <nbd@openwrt.org> wrote:
>>> It only contains simple_open, which is already available on Linux 3.4.
>>> Fixes duplicate symbol issues on 3.4
>>>
>>> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
>>
>> Thanks! The equivalent change was required from
>> include/linux/compat-3.5.h to include/linux/compat-3.4.h, I took care
>> of that though, merged and I'll push this shortly!
> Yeah, v2 had that as well.
Oops I didn't see that, thanks!
Luis
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-25 2:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-24 13:29 [PATCH] compat: rename compat-3.5.c to compat-3.4.c Felix Fietkau
2012-05-25 0:51 ` Luis R. Rodriguez
2012-05-25 2:02 ` Felix Fietkau
2012-05-25 2:03 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox