Merge branch 'stable/for-jens-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / include / linux / serial_core.h
index 025dad9dcde4edaacbb51e52d138c7f28b621458..297d4fa1cfe513d85340ae43c1217d47e9c7e881 100644 (file)
@@ -35,7 +35,7 @@
 #define uart_console(port) \
        ((port)->cons && (port)->cons->index == (port)->line)
 #else
-#define uart_console(port)      (0)
+#define uart_console(port)      ({ (void)port; 0; })
 #endif
 
 struct uart_port;