Message ID | E1VbfcJ-0003g5-SK@rmk-PC.arm.linux.org.uk (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Eduardo Valentin |
Headers | show |
On Wed, Oct 30, 2013 at 11:56:03PM +0000, Russell King wrote: > Add the module device table declaration so the module can be loaded > automatically at boot time. > > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> > --- > drivers/thermal/imx_thermal.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c > index 1d6c801c1eb9..ab31552f0360 100644 > --- a/drivers/thermal/imx_thermal.c > +++ b/drivers/thermal/imx_thermal.c > @@ -539,3 +539,4 @@ MODULE_AUTHOR("Freescale Semiconductor, Inc."); > MODULE_DESCRIPTION("Thermal driver for Freescale i.MX SoCs"); > MODULE_LICENSE("GPL v2"); > MODULE_ALIAS("platform:imx-thermal"); > +MODULE_DEVICE_TABLE(of, of_imx_thermal_match); Can you move it right below of_imx_thermal_match definition? Otherwise, Acked-by: Shawn Guo <shawn.guo@linaro.org> > -- > 1.7.4.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 30-10-2013 19:56, Russell King wrote: > Add the module device table declaration so the module can be loaded > automatically at boot time. > > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Eduardo Valentin <eduardo.valentin@ti.com> > --- > drivers/thermal/imx_thermal.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c > index 1d6c801c1eb9..ab31552f0360 100644 > --- a/drivers/thermal/imx_thermal.c > +++ b/drivers/thermal/imx_thermal.c > @@ -539,3 +539,4 @@ MODULE_AUTHOR("Freescale Semiconductor, Inc."); > MODULE_DESCRIPTION("Thermal driver for Freescale i.MX SoCs"); > MODULE_LICENSE("GPL v2"); > MODULE_ALIAS("platform:imx-thermal"); > +MODULE_DEVICE_TABLE(of, of_imx_thermal_match); >
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 1d6c801c1eb9..ab31552f0360 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -539,3 +539,4 @@ MODULE_AUTHOR("Freescale Semiconductor, Inc."); MODULE_DESCRIPTION("Thermal driver for Freescale i.MX SoCs"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:imx-thermal"); +MODULE_DEVICE_TABLE(of, of_imx_thermal_match);
Add the module device table declaration so the module can be loaded automatically at boot time. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> --- drivers/thermal/imx_thermal.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)