diff options
author | Ruslan Bilovol <ruslan.bilovol@ti.com> | 2013-02-14 13:55:24 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-04-08 16:04:25 -0700 |
commit | 6770b211432564c562c856d612b43bbd42e4ab5e (patch) | |
tree | f2f1dadcad28470f3aa6221d97b6392f1d7f5d33 /arch/arm/mach-omap2/io.c | |
parent | f9d41eefcfbb9168c94ae40f37f76828dcca088c (diff) | |
download | blackbird-op-linux-6770b211432564c562c856d612b43bbd42e4ab5e.tar.gz blackbird-op-linux-6770b211432564c562c856d612b43bbd42e4ab5e.zip |
ARM: OMAP2+: Export SoC information to userspace
In some situations it is useful for userspace to
know some SoC-specific information. For example,
this may be used for deciding what kernel module to
use or how to better configure some settings etc.
This patch exports OMAP SoC information to userspace
using existing in Linux kernel SoC infrastructure.
This information can be read under
/sys/devices/socX directory
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
[tony@atomide.com: updated for multiplatform changes]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 865688e69330..3241f23afe09 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c @@ -389,6 +389,7 @@ static void __init omap_common_late_init(void) { omap_mux_late_init(); omap2_common_pm_late_init(); + omap_soc_device_init(); } #ifdef CONFIG_SOC_OMAP2420 |