mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:01:52 +02:00
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34332 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
aa21e49e2a
commit
e651713467
@ -43,7 +43,7 @@ static inline int soc_is_rt5350(void) { return 0; }
|
|||||||
|
|
||||||
#define phys_to_bus(a) (a & 0x1FFFFFFF)
|
#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)
|
#define RADEBUG(fmt, args...) printk(KERN_DEBUG fmt, ## args)
|
||||||
#else
|
#else
|
||||||
#define RADEBUG(fmt, args...) do {} while (0)
|
#define RADEBUG(fmt, args...) do {} while (0)
|
||||||
|
Loading…
Reference in New Issue
Block a user