Commit aa912857 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by David S. Miller

net/alacritech: Delete driver version

Use standard variant of the driver version.
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 65659193
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "slic.h" #include "slic.h"
#define DRV_NAME "slicoss" #define DRV_NAME "slicoss"
#define DRV_VERSION "1.0"
static const struct pci_device_id slic_id_tbl[] = { static const struct pci_device_id slic_id_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_ALACRITECH, { PCI_DEVICE(PCI_VENDOR_ID_ALACRITECH,
...@@ -1533,7 +1532,6 @@ static void slic_get_drvinfo(struct net_device *dev, ...@@ -1533,7 +1532,6 @@ static void slic_get_drvinfo(struct net_device *dev,
struct slic_device *sdev = netdev_priv(dev); struct slic_device *sdev = netdev_priv(dev);
strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
strlcpy(info->version, DRV_VERSION, sizeof(info->version));
strlcpy(info->bus_info, pci_name(sdev->pdev), sizeof(info->bus_info)); strlcpy(info->bus_info, pci_name(sdev->pdev), sizeof(info->bus_info));
} }
...@@ -1852,4 +1850,3 @@ module_pci_driver(slic_driver); ...@@ -1852,4 +1850,3 @@ module_pci_driver(slic_driver);
MODULE_DESCRIPTION("Alacritech non-accelerated SLIC driver"); MODULE_DESCRIPTION("Alacritech non-accelerated SLIC driver");
MODULE_AUTHOR("Lino Sanfilippo <LinoSanfilippo@gmx.de>"); MODULE_AUTHOR("Lino Sanfilippo <LinoSanfilippo@gmx.de>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_VERSION(DRV_VERSION);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment