diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-10-09 05:47:27 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-19 22:38:47 -0400 |
commit | 7994b1c55ec19238067a47f09b0463db3a48c33c (patch) | |
tree | 47c1481c199fafc91f4c9b354145ddf6801f746d | |
parent | 7713718751aa8b8df39314b7e49ea2f66a5d1f0c (diff) |
video: remove unused sh_mobile_lcdc platform data
Remove lddckr from the platform data, these days we calculate the
register value from clock source and clock dividers anyway.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.c | 1 | ||||
-rw-r--r-- | include/video/sh_mobile_lcdc.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index b7468bacce80..399a8a75ab0b 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c | |||
@@ -589,7 +589,6 @@ static int __init sh_mobile_lcdc_probe(struct platform_device *pdev) | |||
589 | goto err1; | 589 | goto err1; |
590 | } | 590 | } |
591 | 591 | ||
592 | priv->lddckr = pdata->lddckr; | ||
593 | priv->base = ioremap_nocache(res->start, (res->end - res->start) + 1); | 592 | priv->base = ioremap_nocache(res->start, (res->end - res->start) + 1); |
594 | 593 | ||
595 | for (i = 0; i < j; i++) { | 594 | for (i = 0; i < j; i++) { |
diff --git a/include/video/sh_mobile_lcdc.h b/include/video/sh_mobile_lcdc.h index 130102f663f5..bfb42dbc5cc8 100644 --- a/include/video/sh_mobile_lcdc.h +++ b/include/video/sh_mobile_lcdc.h | |||
@@ -64,7 +64,6 @@ struct sh_mobile_lcdc_chan_cfg { | |||
64 | }; | 64 | }; |
65 | 65 | ||
66 | struct sh_mobile_lcdc_info { | 66 | struct sh_mobile_lcdc_info { |
67 | unsigned long lddckr; | ||
68 | int clock_source; | 67 | int clock_source; |
69 | struct sh_mobile_lcdc_chan_cfg ch[2]; | 68 | struct sh_mobile_lcdc_chan_cfg ch[2]; |
70 | }; | 69 | }; |