• Paul Walmsley's avatar
    ARM: OMAP2+: fix some omap_device_build() calls that aren't compiled by default · 6efc3fe0
    Paul Walmsley authored
    Commit c1d1cd59 ("ARM: OMAP2+:
    omap_device: remove obsolete pm_lats and early_device code") missed a
    few omap_device_build() calls that aren't included as part of the default
    OMAP2+ Kconfig, omap2plus_defconfig.
    
    Ideally, all devices that are present on the SoC should be created by
    default, and only the corresponding device driver should be configured
    or deconfigured in Kconfig.  This allows drivers to be built as
    modules and loaded later, even if they weren't part of the original
    kernel build.  Unfortunately, we're not quite there yet.
    
    Thanks to Tony Lindgren for reporting this, found during his
    randconfig tests.
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    6efc3fe0
sr_device.c 4.53 KB