Re: [PATCH v2] regulator: axp20x: Add module alias

From: Paul Bolle
Date: Mon Aug 03 2015 - 04:51:59 EST


On za, 2015-08-01 at 18:13 +0100, Ian Campbell wrote:
> This allows the module to be autoloaded.
>
> Together with 07949bf9c63c ("cpufreq: dt: allow driver to boot
> automatically") this is sufficient to allow a modular kernel (such
> as Debian's) to enable cpufreq on a Cubietruck.

> --- a/drivers/regulator/axp20x-regulator.c
> +++ b/drivers/regulator/axp20x-regulator.c

> +MODULE_ALIAS("platform:axp20x-regulator");

Should this eventually go into stable?

The regulator driver for AXP20x was added in v3.16, so this patch could
currently be relevant for the v3.18.y and v4.1.y trees. (In those trees
the corresponding platform devices, which are needed to make this alias
useful, appear to be present.)

Same question for 07949bf9c63c ("cpufreq: dt: allow driver to boot
automatically"), I guess.


Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/