summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 16:24:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-28 07:38:52 -0200
commit7226d8ebdd3a944db44334f0a910e70abcc0abbf (patch)
tree675373a7632fff142e0d6f87487dbe03dfdc6248 /drivers/media/radio
parent1ab90587029b821ed47db9df8d79a5ebe49a02a8 (diff)
downloadop-kernel-dev-7226d8ebdd3a944db44334f0a910e70abcc0abbf.zip
op-kernel-dev-7226d8ebdd3a944db44334f0a910e70abcc0abbf.tar.gz
[media] fmdrv: better define fmdbg() macro to avoid warnings
drivers/media/radio/wl128x/fmdrv_common.c:1619:47: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r--drivers/media/radio/wl128x/fmdrv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/wl128x/fmdrv.h b/drivers/media/radio/wl128x/fmdrv.h
index d84ad9d..aac0f02 100644
--- a/drivers/media/radio/wl128x/fmdrv.h
+++ b/drivers/media/radio/wl128x/fmdrv.h
@@ -60,7 +60,7 @@
#define fmdbg(format, ...) \
printk(KERN_DEBUG "fmdrv: " format, ## __VA_ARGS__)
#else /* DEBUG */
-#define fmdbg(format, ...)
+#define fmdbg(format, ...) do {} while(0)
#endif
enum {
FM_MODE_OFF,
OpenPOWER on IntegriCloud