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

net/apm: Remove useless driver version

Delete module version in favor of global and unique linux kernel.
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7f4d2537
...@@ -89,7 +89,6 @@ static void xge_get_drvinfo(struct net_device *ndev, ...@@ -89,7 +89,6 @@ static void xge_get_drvinfo(struct net_device *ndev,
struct platform_device *pdev = pdata->pdev; struct platform_device *pdev = pdata->pdev;
strcpy(info->driver, "xgene-enet-v2"); strcpy(info->driver, "xgene-enet-v2");
strcpy(info->version, XGENE_ENET_V2_VERSION);
snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "N/A"); snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "N/A");
sprintf(info->bus_info, "%s", pdev->name); sprintf(info->bus_info, "%s", pdev->name);
} }
......
...@@ -741,5 +741,4 @@ module_platform_driver(xge_driver); ...@@ -741,5 +741,4 @@ module_platform_driver(xge_driver);
MODULE_DESCRIPTION("APM X-Gene SoC Ethernet v2 driver"); MODULE_DESCRIPTION("APM X-Gene SoC Ethernet v2 driver");
MODULE_AUTHOR("Iyappan Subramanian <isubramanian@apm.com>"); MODULE_AUTHOR("Iyappan Subramanian <isubramanian@apm.com>");
MODULE_VERSION(XGENE_ENET_V2_VERSION);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include "ring.h" #include "ring.h"
#include "ethtool.h" #include "ethtool.h"
#define XGENE_ENET_V2_VERSION "v1.0"
#define XGENE_ENET_STD_MTU 1536 #define XGENE_ENET_STD_MTU 1536
#define XGENE_ENET_MIN_FRAME 60 #define XGENE_ENET_MIN_FRAME 60
#define IRQ_ID_SIZE 16 #define IRQ_ID_SIZE 16
......
...@@ -103,7 +103,6 @@ static void xgene_get_drvinfo(struct net_device *ndev, ...@@ -103,7 +103,6 @@ static void xgene_get_drvinfo(struct net_device *ndev,
struct platform_device *pdev = pdata->pdev; struct platform_device *pdev = pdata->pdev;
strcpy(info->driver, "xgene_enet"); strcpy(info->driver, "xgene_enet");
strcpy(info->version, XGENE_DRV_VERSION);
snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "N/A"); snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "N/A");
sprintf(info->bus_info, "%s", pdev->name); sprintf(info->bus_info, "%s", pdev->name);
} }
......
...@@ -2179,7 +2179,6 @@ static struct platform_driver xgene_enet_driver = { ...@@ -2179,7 +2179,6 @@ static struct platform_driver xgene_enet_driver = {
module_platform_driver(xgene_enet_driver); module_platform_driver(xgene_enet_driver);
MODULE_DESCRIPTION("APM X-Gene SoC Ethernet driver"); MODULE_DESCRIPTION("APM X-Gene SoC Ethernet driver");
MODULE_VERSION(XGENE_DRV_VERSION);
MODULE_AUTHOR("Iyappan Subramanian <isubramanian@apm.com>"); MODULE_AUTHOR("Iyappan Subramanian <isubramanian@apm.com>");
MODULE_AUTHOR("Keyur Chudgar <kchudgar@apm.com>"); MODULE_AUTHOR("Keyur Chudgar <kchudgar@apm.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include "xgene_enet_ring2.h" #include "xgene_enet_ring2.h"
#include "../../../phy/mdio-xgene.h" #include "../../../phy/mdio-xgene.h"
#define XGENE_DRV_VERSION "v1.0"
#define ETHER_MIN_PACKET 64 #define ETHER_MIN_PACKET 64
#define ETHER_STD_PACKET 1518 #define ETHER_STD_PACKET 1518
#define XGENE_ENET_STD_MTU 1536 #define XGENE_ENET_STD_MTU 1536
......
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