summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/ethtool.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-06-23 11:30:26 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-24 22:13:23 -0700
commitc5d5f5fdc76baf0b8d074338c94bd443635ef9d0 (patch)
tree29ba76558202a1421d4c8e663f8d570f1856d4aa /drivers/net/sfc/ethtool.c
parent62776d034cc40c49bafdb3551a6ba35f78e3f08d (diff)
downloadlinux-stable-c5d5f5fdc76baf0b8d074338c94bd443635ef9d0.tar.gz
linux-stable-c5d5f5fdc76baf0b8d074338c94bd443635ef9d0.tar.bz2
linux-stable-c5d5f5fdc76baf0b8d074338c94bd443635ef9d0.zip
sfc: Replace EFX_DRIVER_NAME with KBUILD_MODNAME
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r--drivers/net/sfc/ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c
index 27230a992893..53f3eb20f4ea 100644
--- a/drivers/net/sfc/ethtool.c
+++ b/drivers/net/sfc/ethtool.c
@@ -234,7 +234,7 @@ static void efx_ethtool_get_drvinfo(struct net_device *net_dev,
{
struct efx_nic *efx = netdev_priv(net_dev);
- strlcpy(info->driver, EFX_DRIVER_NAME, sizeof(info->driver));
+ strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver));
strlcpy(info->version, EFX_DRIVER_VERSION, sizeof(info->version));
if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0)
siena_print_fwver(efx, info->fw_version,