提交 7226d8eb 编写于 作者: M 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: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册