Skip to content

Commit

Permalink
sh: Enable use of the clk fwk on SH-5.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed May 8, 2008
1 parent 5e2c287 commit 85f094e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 85f094e

Please sign in to comment.