Jean Pihet <[email protected]> writes:

>> if you already decide in runtime the correct initialization to call, why
>> do you add ifdefs ?
>
> There is no #ifdef with CONFIG_POWER_AVS_OMAP_V[12], those options are
> used to compile or not the respective modules, cf.
> driver/power/avs/Makefile.

I'd suggest not even having user-selectable Kconfig for this.  

Just have a single Kconfig for POWER_AVS, then have

config POWER_AVS_OMAP
       default PM && (ARCH_OMAP3 || ARCH_OMAP4)

which compiles both versions of the OMAP IP.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to