The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser <fercer...@gmail.com>
---
 .../drivers/net/ethernet/ramips/ramips_main.c      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git 
a/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c 
b/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c
index b6c72b8..267860f 100644
--- a/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c
+++ b/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c
@@ -43,7 +43,7 @@ static inline int soc_is_rt5350(void) { return 0; }
 
 #define phys_to_bus(a)  (a & 0x1FFFFFFF)
 
-#ifdef CONFIG_RAMIPS_ETH_DEBUG
+#ifdef CONFIG_NET_RAMIPS_DEBUG
 #define RADEBUG(fmt, args...)  printk(KERN_DEBUG fmt, ## args)
 #else
 #define RADEBUG(fmt, args...)  do {} while (0)
-- 
1.7.3.4

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to