From: Kshitij Kulshreshtha <kkhere.geo@gmail.com>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>,
Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-wireless@vger.kernel.org,
Kshitij Kulshreshtha <kkhere.geo@gmail.com>
Subject: [PATCH 2/3] compat: header <pcmcia/cs_types.h> was removed in v2.6.36
Date: Mon, 2 Aug 2010 00:02:50 +0200 [thread overview]
Message-ID: <1280700173-14690-3-git-send-email-kkhere.geo@gmail.com> (raw)
In-Reply-To: <4C55D22A.5040302@hauke-m.de>
the header <pcmcia/cs.h> in versions < 2.6.36 requires types defined
in <pcmcia/cs_types.h> so include it first.
Signed-off-by: Kshitij Kulshreshtha <kkhere.geo@gmail.com>
---
include/pcmcia/cs.h | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
create mode 100644 include/pcmcia/cs.h
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
new file mode 100644
index 0000000..1c5e0fa
--- /dev/null
+++ b/include/pcmcia/cs.h
@@ -0,0 +1,10 @@
+#ifndef _COMPAT_PCMCIA_CS_H
+#define _COMPAT_PCMCIA_CS_H
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
+#include <pcmcia/cs_types.h>
+#endif
+
+#include_next <pcmcia/cs.h>
+#endif
--
1.7.1
next prev parent reply other threads:[~2010-08-01 22:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 13:40 compat-wireless-2010-07-28.tar.bz2 fails to compile with 2.6.34.1 Kshitij Kulshreshtha
2010-08-01 19:59 ` Hauke Mehrtens
2010-08-01 22:02 ` [PATCH] build fixes for compat.git and compat-wireless.git Kshitij Kulshreshtha
2010-08-01 22:02 ` [PATCH 1/3] compat: backport hex_to_bin first introduced in v2.6.35 Kshitij Kulshreshtha
2010-08-01 22:02 ` Kshitij Kulshreshtha [this message]
2010-08-01 22:02 ` [PATCH 3/3] compat: define struct va_format introduced in v2.6.36 Kshitij Kulshreshtha
2010-08-02 18:00 ` Luis R. Rodriguez
2010-08-02 19:39 ` Kshitij Kulshreshtha
2010-08-02 19:48 ` Joe Perches
2010-08-02 19:54 ` Kshitij Kulshreshtha
2010-08-02 20:08 ` Joe Perches
2010-08-02 20:42 ` Luis R. Rodriguez
2010-08-01 22:02 ` [PATCH 4/5] compat-wireless: allow compilation of compat-2.6.35.c from compat Kshitij Kulshreshtha
2010-08-01 22:02 ` [PATCH 5/5] compat-wireless: copy headers in include/pcmcia " Kshitij Kulshreshtha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1280700173-14690-3-git-send-email-kkhere.geo@gmail.com \
--to=kkhere.geo@gmail.com \
--cc=hauke@hauke-m.de \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).