[PATCH] ARM: OMAP2+: Remove suspend_set_ops from common pm late init

Nishanth Menon nm at ti.com
Fri May 9 13:38:15 PDT 2014


On Fri, May 9, 2014 at 3:17 PM, Dave Gerlach <d-gerlach at ti.com> wrote:
> On 05/09/2014 02:04 PM, Nishanth Menon wrote:
>>
>> On 05/09/2014 01:53 PM, Dave Gerlach wrote:

>>> +#ifdef CONFIG_SUSPEND
>>> +void omap_common_suspend_init(void);
>>> +#else
>>> +static inline void omap_common_suspend_init(void)
>>> +{
>>> +}
>>> +#endif
>>> +
>>
>> push this off to this pm.h?
>
>
> I could, I had just put it in the same spot as omap2_common_pm_late_init. I
> agree it makes sense to move it though.
>

yeah - the usage in the case of suspend_init is restricted solely to
pm code.. generic code does not have to invoke it.

Regards,
Nishanth Menon



More information about the linux-arm-kernel mailing list