diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-10 23:03:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-05-11 14:54:54 -0400 |
commit | 3ce4023275a9d65d913d738846cea4a844e24b51 (patch) | |
tree | 4cae2a320ae7667925b0b5335b209883a850d9cd /drivers/net | |
parent | 0dc5a29044d56912bf0d4e5cd19127f82b90c29c (diff) |
[PATCH] libertas: Get rid of version.h
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 7 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/version.h | 7 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 1 |
3 files changed, 7 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index dcbf102a057e..b9b25ce65919 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -21,6 +21,13 @@ | |||
21 | #include "debugfs.h" | 21 | #include "debugfs.h" |
22 | #include "assoc.h" | 22 | #include "assoc.h" |
23 | 23 | ||
24 | #define DRIVER_RELEASE_VERSION "320.p0" | ||
25 | const char libertas_driver_version[] = "COMM-USB8388-" DRIVER_RELEASE_VERSION | ||
26 | #ifdef DEBUG | ||
27 | "-dbg" | ||
28 | #endif | ||
29 | ""; | ||
30 | |||
24 | #ifdef ENABLE_PM | 31 | #ifdef ENABLE_PM |
25 | static struct pm_dev *wlan_pm_dev = NULL; | 32 | static struct pm_dev *wlan_pm_dev = NULL; |
26 | #endif | 33 | #endif |
diff --git a/drivers/net/wireless/libertas/version.h b/drivers/net/wireless/libertas/version.h index e86f65ae79b8..8b137891791f 100644 --- a/drivers/net/wireless/libertas/version.h +++ b/drivers/net/wireless/libertas/version.h | |||
@@ -1,8 +1 @@ | |||
1 | #define DRIVER_RELEASE_VERSION "320.p0" | ||
2 | const char libertas_driver_version[] = "COMM-USB8388-" DRIVER_RELEASE_VERSION | ||
3 | #ifdef DEBUG | ||
4 | "-dbg" | ||
5 | #endif | ||
6 | ""; | ||
7 | |||
8 | |||
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 18629af33282..c62ffcd214c2 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include "defs.h" | 17 | #include "defs.h" |
18 | #include "dev.h" | 18 | #include "dev.h" |
19 | #include "join.h" | 19 | #include "join.h" |
20 | #include "version.h" | ||
21 | #include "wext.h" | 20 | #include "wext.h" |
22 | #include "assoc.h" | 21 | #include "assoc.h" |
23 | 22 | ||