summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files/drivers/net
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-04 15:53:15 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-04 15:53:15 +0000
commitf4c650032291dc644ff2f7e30fd8bcf963f7eb00 (patch)
tree116a8f37a8253b2e0f7b05878e3ea16b6fda7ea0 /target/linux/adm5120/files/drivers/net
parent1a38049d595d34da77c821df63583df8ef57747a (diff)
[adm5120] fix typos in adm5120 switch driver (#4241)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31196 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/files/drivers/net')
-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 a92695485..17b1f4e49 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;