diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 17:57:17 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 17:57:17 +0900 |
commit | 46a12f7426d71cabc08972cf8d3ffdd441d26a3a (patch) | |
tree | 40689b826cc2b24d62bc5be1e08db27593072873 /arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |
parent | d43a41bf8b504a1d9f0b4ce7e17d803f4ef39d84 (diff) | |
download | lwn-46a12f7426d71cabc08972cf8d3ffdd441d26a3a.tar.gz lwn-46a12f7426d71cabc08972cf8d3ffdd441d26a3a.zip |
sh: Consolidate MTU2/CMT/TMU timer platform data.
All of the SH timers use a roughly identical structure for platform data,
which presently is broken out for each block. Consolidate all of these
definitions, as there is no reason for them to be broken out in the first
place.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7723.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7723.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c index dbb44949ed19..fb9b5427a068 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c @@ -13,7 +13,7 @@ #include <linux/mm.h> #include <linux/serial_sci.h> #include <linux/uio_driver.h> -#include <linux/sh_cmt.h> +#include <linux/sh_timer.h> #include <asm/clock.h> #include <asm/mmzone.h> @@ -101,7 +101,7 @@ static struct platform_device veu1_device = { .num_resources = ARRAY_SIZE(veu1_resources), }; -static struct sh_cmt_config cmt_platform_data = { +static struct sh_timer_config cmt_platform_data = { .name = "CMT", .channel_offset = 0x60, .timer_bit = 5, |