aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2008-02-07 14:45:31 -0500
committerLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2008-02-08 00:41:07 -0500
commit47ee8ae5cb00a87a6160f28f834aca146075a5a2 (patch)
treeaab5fc186045830bcdc4c4758e8bf8624edc01f1
parent6770885da41ebdbf4aba0f291e5583bac1b220a7 (diff)
downloadcompat-wireless-2.6-old-47ee8ae5cb00a87a6160f28f834aca146075a5a2.tar.gz
Protect against Fedora kernels with backported SSB support
Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
-rw-r--r--compat/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/compat.h b/compat/compat.h
index 58fe809..b438a5a 100644
--- a/compat/compat.h
+++ b/compat/compat.h
@@ -17,6 +17,7 @@
/* From include/linux/mod_devicetable.h */
/* SSB core, see drivers/ssb/ */
+#ifndef CONFIG_SSB
struct ssb_device_id {
__u16 vendor;
__u16 coreid;
@@ -30,6 +31,7 @@ struct ssb_device_id {
#define SSB_ANY_VENDOR 0xFFFF
#define SSB_ANY_ID 0xFFFF
#define SSB_ANY_REV 0xFF
+#endif
/* Namespace stuff, introduced on 2.6.24 */