linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] compat-wireless: compile fixes
@ 2010-04-18 13:37 Hauke Mehrtens
  2010-04-18 13:37 ` [PATCH 1/2] compat: Add definitions needed for libertas sdio driver Hauke Mehrtens
  2010-04-18 13:37 ` [PATCH 2/2] compat: Add linux/version.h include before using it Hauke Mehrtens
  0 siblings, 2 replies; 3+ messages in thread
From: Hauke Mehrtens @ 2010-04-18 13:37 UTC (permalink / raw)
  To: lrodriguez; +Cc: linux-wireless, mcgrof, Hauke Mehrtens

This series contains mostly compile fixes.
It was compile tested on kernel 2.6.25 to 2.6.34 and ath9k is working in
Ubuntu 9.04.

Hauke Mehrtens (2):
  compat: Add definitions needed for libertas sdio driver.
  compat: Add linux/version.h include before using it.

 include/linux/compat-2.6.35.h |    3 +++
 include/linux/tracepoint.h    |    2 ++
 include/net/net_namespace.h   |    2 ++
 include/trace/define_trace.h  |    2 ++
 4 files changed, 9 insertions(+), 0 deletions(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] compat: Add definitions needed for libertas sdio driver.
  2010-04-18 13:37 [PATCH 0/2] compat-wireless: compile fixes Hauke Mehrtens
@ 2010-04-18 13:37 ` Hauke Mehrtens
  2010-04-18 13:37 ` [PATCH 2/2] compat: Add linux/version.h include before using it Hauke Mehrtens
  1 sibling, 0 replies; 3+ messages in thread
From: Hauke Mehrtens @ 2010-04-18 13:37 UTC (permalink / raw)
  To: lrodriguez; +Cc: linux-wireless, mcgrof, Hauke Mehrtens

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 include/linux/compat-2.6.35.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/linux/compat-2.6.35.h b/include/linux/compat-2.6.35.h
index 7387c46..964e8dc 100644
--- a/include/linux/compat-2.6.35.h
+++ b/include/linux/compat-2.6.35.h
@@ -8,6 +8,9 @@
 #define IW_HANDLER(id, func)			\
 	[IW_IOCTL_IDX(id)] = func
 
+#define  SDIO_BUS_ECSI		0x20	/* Enable continuous SPI interrupt */
+#define  SDIO_BUS_SCSI		0x40	/* Support continuous SPI interrupt */
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)) */
 
 #endif /* LINUX_26_35_COMPAT_H */
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] compat: Add linux/version.h include before using it.
  2010-04-18 13:37 [PATCH 0/2] compat-wireless: compile fixes Hauke Mehrtens
  2010-04-18 13:37 ` [PATCH 1/2] compat: Add definitions needed for libertas sdio driver Hauke Mehrtens
@ 2010-04-18 13:37 ` Hauke Mehrtens
  1 sibling, 0 replies; 3+ messages in thread
From: Hauke Mehrtens @ 2010-04-18 13:37 UTC (permalink / raw)
  To: lrodriguez; +Cc: linux-wireless, mcgrof, Hauke Mehrtens

This causes problems if theses header files are used without including
linux/compat-2.6.h

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 include/linux/tracepoint.h   |    2 ++
 include/net/net_namespace.h  |    2 ++
 include/trace/define_trace.h |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 7484716..9f5add1 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -1,6 +1,8 @@
 #ifndef _COMPAT_LINUX_TRACEPOINT_H
 #define _COMPAT_LINUX_TRACEPOINT_H 1
 
+#include <linux/version.h>
+
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27))
 #include_next <linux/tracepoint.h>
 #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) */
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 206c0c1..0f74944 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -1,6 +1,8 @@
 #ifndef _COMPAT_NET_NET_NAMESPACE_H
 #define _COMPAT_NET_NET_NAMESPACE_H 1
 
+#include <linux/version.h>
+
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23))
 #include_next <net/net_namespace.h>
 #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23)) */
diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h
index f5c01de..a31105a 100644
--- a/include/trace/define_trace.h
+++ b/include/trace/define_trace.h
@@ -1,6 +1,8 @@
 #ifndef _COMPAT_TRACE_DEFINE_TRACE_H
 #define _COMPAT_TRACE_DEFINE_TRACE_H 1
 
+#include <linux/version.h>
+
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30))
 #include_next <trace/define_trace.h>
 #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-18 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-18 13:37 [PATCH 0/2] compat-wireless: compile fixes Hauke Mehrtens
2010-04-18 13:37 ` [PATCH 1/2] compat: Add definitions needed for libertas sdio driver Hauke Mehrtens
2010-04-18 13:37 ` [PATCH 2/2] compat: Add linux/version.h include before using it Hauke Mehrtens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).