[PATCH] thermal: imx_thermal: add module device table

Eduardo Valentin eduardo.valentin at ti.com
Mon Nov 4 11:09:04 EST 2013


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 at arm.linux.org.uk>

Acked-by: Eduardo Valentin <eduardo.valentin at 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);
> 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131104/f6b14c19/attachment.sig>


More information about the linux-arm-kernel mailing list