Commit 7226d8eb authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1ab90587
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment