[PATCH] thermal: imx_thermal: add module device table
Shawn Guo
shawn.guo at linaro.org
Mon Dec 16 21:57:39 EST 2013
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 at arm.linux.org.uk>
Acked-by: Shawn Guo <shawn.guo at 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
>
More information about the linux-arm-kernel
mailing list