ramips: ramips_eth: use Kconfig definition to enable debug
authorGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 14:25:54 +0000 (14:25 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 14:25:54 +0000 (14:25 +0000)
The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34332

target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c

index b6c72b8a85f2a8639205d2f7d7c4e55092ae4e64..267860ff0fd90f761458c48f5f9d709cc0121d2f 100644 (file)
@@ -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)