diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-01-18 12:52:38 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-01-24 11:41:16 +0000 |
commit | 953a7e8476bbd7367cebdb868c326ba42968bc13 (patch) | |
tree | e70937ed8593e89e1dbc0a9b8cc2ebe13e5419fe /drivers/char | |
parent | 1639058ed1dd0b856a5c34064a990c7827b0e32b (diff) | |
download | linux-953a7e8476bbd7367cebdb868c326ba42968bc13.tar.gz linux-953a7e8476bbd7367cebdb868c326ba42968bc13.tar.bz2 linux-953a7e8476bbd7367cebdb868c326ba42968bc13.zip |
[ARM] omap: ensure OMAP drivers pass a struct device to clk_get()
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/omap-rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c index d4e7dca06e4f..ba68a4671cb5 100644 --- a/drivers/char/hw_random/omap-rng.c +++ b/drivers/char/hw_random/omap-rng.c @@ -102,7 +102,7 @@ static int __init omap_rng_probe(struct platform_device *pdev) return -EBUSY; if (cpu_is_omap24xx()) { - rng_ick = clk_get(NULL, "rng_ick"); + rng_ick = clk_get(&pdev->dev, "rng_ick"); if (IS_ERR(rng_ick)) { dev_err(&pdev->dev, "Could not get rng_ick\n"); ret = PTR_ERR(rng_ick); |