aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-25 16:23:08 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-25 16:23:08 +0000
commita19a2a88d97f41a280d8f6bf80e13d24d7f60939 (patch)
tree125e1338f0c4f0808b6fbc09e0e6eaa935bba4ae
parentec93d4a636a29be217c8ba4f93d3b6be50d63d34 (diff)
downloadopenwrt-a19a2a88d97f41a280d8f6bf80e13d24d7f60939.tar.gz
openwrt-a19a2a88d97f41a280d8f6bf80e13d24d7f60939.zip
AA: ramips: ramips_eth: use Kconfig definition to enable debug
Backport of r34332. 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> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34376 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 b6c72b8a8..267860ff0 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)