ARM: OMAP: split OMAP1, OMAP2+ RNG device registration
authorPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:28:27 +0000 (17:28 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:28:27 +0000 (17:28 -0600)
commit4848d460a7d4b2b5b22afda16b713cb753affa12
tree81c62d710d73123a59a9b383964ba4fff7e65953
parent665d92fa85b5cb4c0a3f36524ac6cc8f9e3d9c2d
ARM: OMAP: split OMAP1, OMAP2+ RNG device registration

Move the OMAP1-specific RNG device creation off to mach-omap1/devices.c,
and create a omap_device-backed registration function for OMAP2+ devices
in mach-omap2/devices.c.

As a nice side-benefit, we can also get rid of
arch/arm/plat-omap/devices.c, thanks to some recent changes from Tony.

One change from the previous behavior is that the RNG devices are now
registered unconditionally.  This should allow the RNG drivers to be
loaded as modules, even if the original kernel was not built that way.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap1/devices.c
arch/arm/mach-omap2/devices.c