]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
serial: sh-sci: Dynamic clock management depends on HAVE_CLK.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 2 Oct 2008 10:09:13 +0000 (19:09 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 2 Oct 2008 10:09:13 +0000 (19:09 +0900)
commita2159b52219870553fd67e6456f41cd5225c46c6
tree103c2750b618ca1b91aa0a0e6fad28dffb41a484
parentbdeb3be7cc6911477b7169dad62a427d7a263d02
serial: sh-sci: Dynamic clock management depends on HAVE_CLK.

Presently this is conditionalized on sh, and disabled for sh64.
Now that SH-5 ties in to the clock framework, the sh64 exception
can be dropped. Additionally, ARM will want to use the same hooks
once SH-Mobile G3 grows clock framework support, so switch these
paths over to HAVE_CLK now.

Once the H8 and ARM sh-sci users hook up HAVE_CLK, the driver can
be switched over to having an outright dependency on it and the
ifdefs can go away.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c
drivers/serial/sh-sci.h