From: Arend van Spriel Date: Wed, 29 Jun 2011 23:46:42 +0000 (-0700) Subject: staging: brcm80211: remove macro definition DRV_MODULE_NAME X-Git-Tag: MMI-PSA29.97-13-9~18845^2~333 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f70a456a8829411fe9a18ca1ffcefbb1e960e715;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: brcm80211: remove macro definition DRV_MODULE_NAME The macro definition DRV_MODULE_NAME has exactly the same value as KBUILD_MODNAME so using that instead now. Signed-off-by: Arend van Spriel Reviewed-by: Roland Vossen Reviewed-by: Franky Lin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c index dfbbda708482..d09706b98aad 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c @@ -180,8 +180,6 @@ MODULE_DESCRIPTION("Broadcom 802.11n wireless LAN fullmac driver."); MODULE_SUPPORTED_DEVICE("Broadcom 802.11n WLAN fullmac cards"); MODULE_LICENSE("Dual BSD/GPL"); -#define DRV_MODULE_NAME "brcmfmac" - /* Linux wireless extension support */ #if defined(CONFIG_WIRELESS_EXT) #include @@ -1490,7 +1488,7 @@ static void dhd_ethtool_get_drvinfo(struct net_device *net, { dhd_info_t *dhd = *(dhd_info_t **) netdev_priv(net); - sprintf(info->driver, DRV_MODULE_NAME); + sprintf(info->driver, KBUILD_MODNAME); sprintf(info->version, "%lu", dhd->pub.drv_version); sprintf(info->fw_version, "%s", wl_cfg80211_get_fwname()); sprintf(info->bus_info, "%s", dev_name(&wl_cfg80211_get_sdio_func()->dev));