2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00

brcmfmac: Convert printk(KERN_DEBUG to pr_debug

Allow dynamic debugging.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Joe Perches 2012-01-15 00:38:39 -08:00 committed by John W. Linville
parent 8ae746543c
commit d6400c29ab

View File

@ -39,12 +39,12 @@ do { \
if (BRCMF_ERROR_VAL == BRCMF_##level##_VAL) { \ if (BRCMF_ERROR_VAL == BRCMF_##level##_VAL) { \
if (brcmf_msg_level & BRCMF_##level##_VAL) { \ if (brcmf_msg_level & BRCMF_##level##_VAL) { \
if (net_ratelimit()) \ if (net_ratelimit()) \
printk(KERN_DEBUG "%s: " fmt, \ pr_debug("%s: " fmt, \
__func__, ##__VA_ARGS__); \ __func__, ##__VA_ARGS__); \
} \ } \
} else { \ } else { \
if (brcmf_msg_level & BRCMF_##level##_VAL) { \ if (brcmf_msg_level & BRCMF_##level##_VAL) { \
printk(KERN_DEBUG "%s: " fmt, \ pr_debug("%s: " fmt, \
__func__, ##__VA_ARGS__); \ __func__, ##__VA_ARGS__); \
} \ } \
} \ } \