diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-07-13 17:45:25 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-07-13 17:45:25 +0000 |
commit | bbab2a48b4738e099cd2d5e95a4b7e615e2bb353 (patch) | |
tree | c943b46f10bf1c4c4b6cdb812e4a6eea9342b82d /target/linux/ar71xx/files/drivers | |
parent | df119d5c194189c2dd0f851485ce978cc2a48ea4 (diff) | |
download | mtk-20170518-bbab2a48b4738e099cd2d5e95a4b7e615e2bb353.zip mtk-20170518-bbab2a48b4738e099cd2d5e95a4b7e615e2bb353.tar.gz mtk-20170518-bbab2a48b4738e099cd2d5e95a4b7e615e2bb353.tar.bz2 |
ag71xx driver: rename ag71xx_debug module parameter
SVN-Revision: 16833
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c index 1aa24b3..0ba4d55 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c @@ -24,10 +24,10 @@ | NETIF_MSG_RX_ERR \ | NETIF_MSG_TX_ERR ) -static int ag71xx_debug = -1; +static int ag71xx_msg_level = -1; -module_param(ag71xx_debug, int, 0); -MODULE_PARM_DESC(ag71xx_debug, "Debug level (-1=defaults,0=none,...,16=all)"); +module_param_named(msg_level, ag71xx_msg_level, int, 0); +MODULE_PARM_DESC(msg_level, "Message level (-1=defaults,0=none,...,16=all)"); static void ag71xx_dump_dma_regs(struct ag71xx *ag) { @@ -819,7 +819,7 @@ static int __init ag71xx_probe(struct platform_device *pdev) ag->pdev = pdev; ag->dev = dev; ag->mii_bus = ag71xx_mdio_bus->mii_bus; - ag->msg_enable = netif_msg_init(ag71xx_debug, + ag->msg_enable = netif_msg_init(ag71xx_msg_level, AG71XX_DEFAULT_MSG_ENABLE); spin_lock_init(&ag->lock); |