Message ID | 3787332.hnuOIkUjPE@ax5200p |
---|---|
State | Not Applicable, archived |
Headers | show |
On 06/09/2013 06:22 AM, Marc Dietrich wrote: ... > Subject: [PATCH] regulator: tps6586x: correct module alias > > Set the module alias to the actual driver name tps6586x-pmic. This > fixes kernel module loading. > diff --git a/drivers/regulator/tps6586x-regulator.c > -MODULE_ALIAS("platform:tps6586x-regulator"); > +MODULE_ALIAS("platform:tps6586x-pmic"); This patch highlights the issue correctly, but I think it'd be better to change tps6586x_cell[] in drivers/mfd/tps6586x.c instead; that keeps the module alias and module filename more consistent (and really, pmic is the whole chip, whereas regulator is the sub-component, I think). -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c index d8fa37d..c2e57ea 100644 --- a/drivers/regulator/tps6586x-regulator.c +++ b/drivers/regulator/tps6586x-regulator.c @@ -461,4 +461,4 @@ module_exit(tps6586x_regulator_exit); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Mike Rapoport <mike@compulab.co.il>"); MODULE_DESCRIPTION("Regulator Driver for TI TPS6586X PMIC"); -MODULE_ALIAS("platform:tps6586x-regulator"); +MODULE_ALIAS("platform:tps6586x-pmic");