• Tony Lindgren's avatar
    ARM: OMAP2+: Define _HWMOD_STATE_DEFAULT and use it · 6d63b12d
    Tony Lindgren authored
    For dynamically allocated struct hwmod entries probing with ti-sysc
    interconnect target module driver, we need to specify the initial default
    state the same way as we do for the platform data cases.
    
    Let's prepare for that by adding _HWMOD_STATE_DEFAULT that we can then
    use to set the initial default state without a need to add similar
    CONFIG_PM handling in multiple places.
    
    Cc: Paul Walmsley <paul@pwsan.com>
    Cc: Tero Kristo <t-kristo@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    6d63b12d
io.c 16.1 KB