e1000: add MODULE_VERSION
Subsystems (2)
PATCH 1/1 e1000: add MODULE_VERSION
Add MODULE_VERSION entry.
Signed-off-by John W. Linville <[email protected]>
---
I posted one like this before, but it seems to have been lost or overwritten...
drivers/net/e1000/e1000_main.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-)
drivers/net/e1000/e1000_main.c renamed from drivers/net/e1000/e1000_main.c.orig +3 -1
@@ -65,7 +65,8 @@ char e1000_driver_string[] = "Intel(R) P#else #define DRIVERNAPI "-NAPI"#endif -char e1000_driver_version[] ="5.7.6-k2" DRIVERNAPI ; +#define DRV_VERSION "5.7.6-k2"DRIVERNAPI +char e1000_driver_version[] =DRV_VERSION ;char e1000_copyright[] ="Copyright (c) 1999-2004 Intel Corporation." ;/* e1000_pci_tbl - PCI Device ID Table
@@ -210,6 +211,7 @@ static struct pci_driver e1000_driver =MODULE_AUTHOR ("Intel Corporation, <[email protected]>" );MODULE_DESCRIPTION ("Intel(R) PRO/1000 Network Driver" );MODULE_LICENSE ("GPL" ); +MODULE_VERSION (DRV_VERSION );static int debug =NETIF_MSG_DRV |NETIF_MSG_PROBE ;module_param (debug, int,0 );
Signature · 2 lines
John W. Linville [email protected]