diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-04-25 09:04:20 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-05-08 12:51:42 +0200 |
commit | 85f094ecb1c52b9ec9a88c9d2c8beaba72b4f21f (patch) | |
tree | 3500455b1a4742365be2c9e01e8fdae2bb319264 /drivers/serial/sh-sci.c | |
parent | sh64: export onchip_remap/unmap() too. (diff) | |
download | linux-85f094ecb1c52b9ec9a88c9d2c8beaba72b4f21f.tar.xz linux-85f094ecb1c52b9ec9a88c9d2c8beaba72b4f21f.zip |
sh: Enable use of the clk fwk on SH-5.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial/sh-sci.c')
-rw-r--r-- | drivers/serial/sh-sci.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index 969106187718..0a051bca01c7 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c @@ -42,14 +42,12 @@ #include <linux/console.h> #include <linux/platform_device.h> #include <linux/serial_sci.h> - -#ifdef CONFIG_CPU_FREQ #include <linux/notifier.h> #include <linux/cpufreq.h> -#endif - -#if defined(CONFIG_SUPERH) && !defined(CONFIG_SUPERH64) +#include <linux/clk.h> #include <linux/ctype.h> + +#ifdef CONFIG_SUPERH #include <asm/clock.h> #include <asm/sh_bios.h> #include <asm/kgdb.h> @@ -80,7 +78,7 @@ struct sci_port { struct timer_list break_timer; int break_flag; -#if defined(CONFIG_SUPERH) && !defined(CONFIG_SUPERH64) +#ifdef CONFIG_SUPERH /* Port clock */ struct clk *clk; #endif |