tty: xuartps: Fix build error when COMMON_CLK is not set
commit7ac57347c23de6b6fcaf8f0a1f91067cedea57bc
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Mon, 21 Oct 2013 23:41:01 +0000 (21 16:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2013 16:26:11 +0000 (29 09:26 -0700)
treefdebde47330da13e7ca8a5de496e88f7929a9369
parentd3641f64bc71765682754722fd42fae24366bb3a
tty: xuartps: Fix build error when COMMON_CLK is not set

Clock notifiers are only available when CONFIG_COMMON_CLK is enabled.
Hence all notifier related code has to be protected by corresponsing
ifdefs.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c