diff options
author | hayeswang <hayeswang@realtek.com> | 2015-09-06 23:57:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-09 23:27:54 -0400 |
commit | d0942473e3ca4629a40bbf0c9fd74fc0c7ff2a79 (patch) | |
tree | af021f494c527a3e979bd24f3cf86ea738f7ede9 | |
parent | 52fe51f8523751da0e79c85350c47eb3bb94da5b (diff) |
r8152: split DRIVER_VERSION
Split DRIVER_VERSION into NETNEXT_VERSION and NET_VERSION. Then,
according to the value of DRIVER_VERSION, we could know which
patches are used generally without comparing the source code.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/usb/r8152.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index fe4ec324aebc..6bb48bc51484 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c | |||
@@ -26,8 +26,13 @@ | |||
26 | #include <linux/mdio.h> | 26 | #include <linux/mdio.h> |
27 | #include <linux/usb/cdc.h> | 27 | #include <linux/usb/cdc.h> |
28 | 28 | ||
29 | /* Version Information */ | 29 | /* Information for net-next */ |
30 | #define DRIVER_VERSION "v1.08.1 (2015/07/28)" | 30 | #define NETNEXT_VERSION "08" |
31 | |||
32 | /* Information for net */ | ||
33 | #define NET_VERSION "1" | ||
34 | |||
35 | #define DRIVER_VERSION "v1." NETNEXT_VERSION "." NET_VERSION | ||
31 | #define DRIVER_AUTHOR "Realtek linux nic maintainers <nic_swsd@realtek.com>" | 36 | #define DRIVER_AUTHOR "Realtek linux nic maintainers <nic_swsd@realtek.com>" |
32 | #define DRIVER_DESC "Realtek RTL8152/RTL8153 Based USB Ethernet Adapters" | 37 | #define DRIVER_DESC "Realtek RTL8152/RTL8153 Based USB Ethernet Adapters" |
33 | #define MODULENAME "r8152" | 38 | #define MODULENAME "r8152" |