aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-01-24 11:27:06 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-08 12:50:22 -0500
commit6c5dbb40f4795f3fdbf3e5aab7eda4e2f838d08b (patch)
treec63888f76d8b06749970ab328d088d3887b64c16
parenteeec7c8d18465a85c212230bdb715e3f029dbf4e (diff)
[ARM] omap: omap24xxcam: use short connection IDs for omap2 clocks
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-omap2/clock24xx.c4
-rw-r--r--drivers/media/video/omap24xxcam.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/clock24xx.c b/arch/arm/mach-omap2/clock24xx.c
index 1e9ac83dca5e..d190b6a74936 100644
--- a/arch/arm/mach-omap2/clock24xx.c
+++ b/arch/arm/mach-omap2/clock24xx.c
@@ -169,8 +169,8 @@ static struct omap_clk omap24xx_clks[] = {
169 CLK(NULL, "wdt1_ick", &wdt1_ick, CK_243X | CK_242X), 169 CLK(NULL, "wdt1_ick", &wdt1_ick, CK_243X | CK_242X),
170 CLK(NULL, "omapctrl_ick", &omapctrl_ick, CK_243X | CK_242X), 170 CLK(NULL, "omapctrl_ick", &omapctrl_ick, CK_243X | CK_242X),
171 CLK(NULL, "icr_ick", &icr_ick, CK_243X), 171 CLK(NULL, "icr_ick", &icr_ick, CK_243X),
172 CLK(NULL, "cam_fck", &cam_fck, CK_243X | CK_242X), 172 CLK("omap24xxcam", "fck", &cam_fck, CK_243X | CK_242X),
173 CLK(NULL, "cam_ick", &cam_ick, CK_243X | CK_242X), 173 CLK("omap24xxcam", "ick", &cam_ick, CK_243X | CK_242X),
174 CLK(NULL, "mailboxes_ick", &mailboxes_ick, CK_243X | CK_242X), 174 CLK(NULL, "mailboxes_ick", &mailboxes_ick, CK_243X | CK_242X),
175 CLK(NULL, "wdt4_ick", &wdt4_ick, CK_243X | CK_242X), 175 CLK(NULL, "wdt4_ick", &wdt4_ick, CK_243X | CK_242X),
176 CLK(NULL, "wdt4_fck", &wdt4_fck, CK_243X | CK_242X), 176 CLK(NULL, "wdt4_fck", &wdt4_fck, CK_243X | CK_242X),
diff --git a/drivers/media/video/omap24xxcam.c b/drivers/media/video/omap24xxcam.c
index 73eb656acfe3..805faaea6449 100644
--- a/drivers/media/video/omap24xxcam.c
+++ b/drivers/media/video/omap24xxcam.c
@@ -80,17 +80,17 @@ static int omap24xxcam_clock_get(struct omap24xxcam_device *cam)
80{ 80{
81 int rval = 0; 81 int rval = 0;
82 82
83 cam->fck = clk_get(cam->dev, "cam_fck"); 83 cam->fck = clk_get(cam->dev, "fck");
84 if (IS_ERR(cam->fck)) { 84 if (IS_ERR(cam->fck)) {
85 dev_err(cam->dev, "can't get cam_fck"); 85 dev_err(cam->dev, "can't get camera fck");
86 rval = PTR_ERR(cam->fck); 86 rval = PTR_ERR(cam->fck);
87 omap24xxcam_clock_put(cam); 87 omap24xxcam_clock_put(cam);
88 return rval; 88 return rval;
89 } 89 }
90 90
91 cam->ick = clk_get(cam->dev, "cam_ick"); 91 cam->ick = clk_get(cam->dev, "ick");
92 if (IS_ERR(cam->ick)) { 92 if (IS_ERR(cam->ick)) {
93 dev_err(cam->dev, "can't get cam_ick"); 93 dev_err(cam->dev, "can't get camera ick");
94 rval = PTR_ERR(cam->ick); 94 rval = PTR_ERR(cam->ick);
95 omap24xxcam_clock_put(cam); 95 omap24xxcam_clock_put(cam);
96 } 96 }