Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331316
b: refs/heads/master
c: fe47c58
h: refs/heads/master
v: v3
  • Loading branch information
Paul Walmsley committed Sep 23, 2012
1 parent 86e82e6 commit 5598bf8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4848d460a7d4b2b5b22afda16b713cb753affa12
refs/heads/master: fe47c58ba82c967729c76869a5f10a94c38754f3
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-omap1/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ static struct platform_device omap1_rng_device = {

static void omap1_init_rng(void)
{
if (!cpu_is_omap16xx())
return;

(void) platform_device_register(&omap1_rng_device);
}

Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/char/hw_random/omap-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,6 @@ static struct platform_driver omap_rng_driver = {

static int __init omap_rng_init(void)
{
if (!cpu_is_omap16xx() && !cpu_is_omap24xx())
return -ENODEV;

return platform_driver_register(&omap_rng_driver);
}

Expand Down

0 comments on commit 5598bf8

Please sign in to comment.