Message ID | E1Vsg3A-0008Q1-9O@rmk-PC.arm.linux.org.uk (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Zhang Rui |
Headers | show |
On Mon, Dec 16, 2013 at 09:50:04PM +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> Acked-by: Shawn Guo <shawn.guo@linaro.org> > --- > 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..230864886775 100644 > --- a/drivers/thermal/imx_thermal.c > +++ b/drivers/thermal/imx_thermal.c > @@ -522,6 +522,7 @@ static const struct of_device_id of_imx_thermal_match[] = { > { .compatible = "fsl,imx6q-tempmon", }, > { /* end */ } > }; > +MODULE_DEVICE_TABLE(of, of_imx_thermal_match); > > static struct platform_driver imx_thermal = { > .driver = { > -- > 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 16-12-2013 17:50, 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..230864886775 100644 > --- a/drivers/thermal/imx_thermal.c > +++ b/drivers/thermal/imx_thermal.c > @@ -522,6 +522,7 @@ static const struct of_device_id of_imx_thermal_match[] = { > { .compatible = "fsl,imx6q-tempmon", }, > { /* end */ } > }; > +MODULE_DEVICE_TABLE(of, of_imx_thermal_match); > > static struct platform_driver imx_thermal = { > .driver = { >
On Wed, Dec 18, 2013 at 10:47:35AM -0400, Eduardo Valentin wrote: > On 16-12-2013 17:50, 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> As you acked this patch, I'm assuming that means you're happy for me to push it upstream. -- 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 Thu, 2013-12-19 at 11:10 +0000, Russell King - ARM Linux wrote: > On Wed, Dec 18, 2013 at 10:47:35AM -0400, Eduardo Valentin wrote: > > On 16-12-2013 17:50, 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> > applied. thanks, rui -- 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
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 1d6c801c1eb9..230864886775 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -522,6 +522,7 @@ static const struct of_device_id of_imx_thermal_match[] = { { .compatible = "fsl,imx6q-tempmon", }, { /* end */ } }; +MODULE_DEVICE_TABLE(of, of_imx_thermal_match); static struct platform_driver imx_thermal = { .driver = {
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(-)