aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-11-25 14:25:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-11-25 14:25:54 +0000
commit57b7879a4e9202e8f34e42a437b0bcf6c9219550 (patch)
tree9ba48d9e8b989bc4974a75490287cd92cafb7dd2 /target/linux/ramips/files
parent21d5df87002e26308d5158e5bd1bd3e6d5c2ef53 (diff)
downloadupstream-57b7879a4e9202e8f34e42a437b0bcf6c9219550.tar.gz
upstream-57b7879a4e9202e8f34e42a437b0bcf6c9219550.tar.bz2
upstream-57b7879a4e9202e8f34e42a437b0bcf6c9219550.zip
ramips: ramips_eth: use Kconfig definition to enable debug
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
Diffstat (limited to 'target/linux/ramips/files')
-rw-r--r--target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c2
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 b6c72b8a85..267860ff0f 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)