From: Gabor Juhos Date: Sun, 25 Nov 2012 16:23:08 +0000 (+0000) Subject: AA: ramips: ramips_eth: use Kconfig definition to enable debug X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=b30c7bfb452de3c317e00d7bbb6f8c197183f297 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 Signed-off-by: Gabor Juhos SVN-Revision: 34376 --- 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)