serial: pch_uart: Fix build warning when CONFIG_DEBUG_FS=n
authorJingoo Han <jg1.han@samsung.com>
Wed, 5 Feb 2014 00:58:02 +0000 (09:58 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 17:17:31 +0000 (09:17 -0800)
commit6ec0656dc8ef2f4d4dfd6c83c4a3c946110afe1a
treeee848ab935a653b1a65740930b47c0ac1bc0860d
parent3af4e960b8a12b3f07033f1c12504305e6d4df1a
serial: pch_uart: Fix build warning when CONFIG_DEBUG_FS=n

Add CONFIG_DEBUG_FS to 'char name' in order to fix the following
build warning, because 'char name' is used only when CONFIG_DEBUG_FS
is enabled.

drivers/tty/serial/pch_uart.c:1765:7: warning: unused variable 'name' [-Wunused-variable]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c
This page took 0.025458 seconds and 5 git commands to generate.