aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-gd.h
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@gmail.com>2009-01-02 07:34:47 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:19 -0400
commit088b1b88609ce89b6ab19d114cdbec94a44aa22c (patch)
tree2c4f7769e8b2854bcb028dda99c34fe7de3847ae /drivers/ide/ide-gd.h
parent70775e9c627d7094189b96d73fffced6dab30b30 (diff)
ide: improve debugging scheme
and more specifically, push __func__ into debug macro thus making ide_debug_log() calls shorter and more readable. Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Diffstat (limited to 'drivers/ide/ide-gd.h')
-rw-r--r--drivers/ide/ide-gd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-gd.h b/drivers/ide/ide-gd.h
index b604bdd318a1..70b43765327d 100644
--- a/drivers/ide/ide-gd.h
+++ b/drivers/ide/ide-gd.h
@@ -8,7 +8,7 @@
8#define IDE_GD_DEBUG_LOG 0 8#define IDE_GD_DEBUG_LOG 0
9 9
10#if IDE_GD_DEBUG_LOG 10#if IDE_GD_DEBUG_LOG
11#define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, args) 11#define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args)
12#else 12#else
13#define ide_debug_log(lvl, fmt, args...) do {} while (0) 13#define ide_debug_log(lvl, fmt, args...) do {} while (0)
14#endif 14#endif