aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-04-04 15:53:15 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-04-04 15:53:15 +0000
commit152f38a6151124f5b676b744ea1cab112a71fc9a (patch)
treee785bbc78b1f60dd3d0f7842974f935902ad79e3 /target
parent09ade17a15c4d4c67449e52a1dc7f76cacdc433d (diff)
downloadupstream-152f38a6151124f5b676b744ea1cab112a71fc9a.tar.gz
upstream-152f38a6151124f5b676b744ea1cab112a71fc9a.tar.bz2
upstream-152f38a6151124f5b676b744ea1cab112a71fc9a.zip
fix typos in adm5120 switch driver (#4241)
SVN-Revision: 31196
Diffstat (limited to 'target')
-rw-r--r--target/linux/adm5120/files/drivers/net/adm5120sw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/adm5120/files/drivers/net/adm5120sw.c b/target/linux/adm5120/files/drivers/net/adm5120sw.c
index a926954851..17b1f4e494 100644
--- a/target/linux/adm5120/files/drivers/net/adm5120sw.c
+++ b/target/linux/adm5120/files/drivers/net/adm5120sw.c
@@ -49,7 +49,7 @@
/* ------------------------------------------------------------------------ */
#ifdef CONFIG_ADM5120_SWITCH_DEBUG
-#define SW_DBG(f, a...) printk(KERN_DBG "%s: " f, DRV_NAME , ## a)
+#define SW_DBG(f, a...) printk(KERN_DEBUG "%s: " f, DRV_NAME , ## a)
#else
#define SW_DBG(f, a...) do {} while (0)
#endif
@@ -1172,7 +1172,7 @@ err:
return err;
}
-static int adm5120_switch_remove(struct platform_device *dev)
+static int adm5120_switch_remove(struct platform_device *pdev)
{
adm5120_switch_cleanup();
return 0;