]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4af0303726a3e7e033ec418ef6b670d12ac4da13
tree81c62d710d73123a59a9b383964ba4fff7e65953
parent9cbf7f1d83aff4d2edf0636937932de7c688918b
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