[adm5120] fix typos in adm5120 switch driver (#4241)
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / files / drivers / net / adm5120sw.c
index a92695485197e86e72e9dbd3f50871dee9e517ae..17b1f4e494b8b9c20c96b929e40501ab0345753c 100644 (file)
@@ -49,7 +49,7 @@
 /* ------------------------------------------------------------------------ */
 
 #ifdef CONFIG_ADM5120_SWITCH_DEBUG
 /* ------------------------------------------------------------------------ */
 
 #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
 #else
 #define SW_DBG(f, a...)                do {} while (0)
 #endif
@@ -1172,7 +1172,7 @@ err:
        return 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;
 {
        adm5120_switch_cleanup();
        return 0;