From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Valentin Subject: Re: [PATCH] thermal: imx_thermal: add module device table Date: Wed, 18 Dec 2013 10:47:35 -0400 Message-ID: <52B1B587.3050106@ti.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9157536177390970224==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Russell King Cc: linux-pm@vger.kernel.org, Eduardo Valentin , Sascha Hauer , Zhang Rui , Shawn Guo , linux-arm-kernel@lists.infradead.org List-Id: linux-pm@vger.kernel.org --===============9157536177390970224== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="l57v44BAC6BStowmvBUomih239IaRB6ff" --l57v44BAC6BStowmvBUomih239IaRB6ff Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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. >=20 > Signed-off-by: Russell King Acked-by: Eduardo Valentin > --- > drivers/thermal/imx_thermal.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) >=20 > diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_therma= l.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_mat= ch[] =3D { > { .compatible =3D "fsl,imx6q-tempmon", }, > { /* end */ } > }; > +MODULE_DEVICE_TABLE(of, of_imx_thermal_match); > =20 > static struct platform_driver imx_thermal =3D { > .driver =3D { >=20 --=20 You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin --l57v44BAC6BStowmvBUomih239IaRB6ff Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlKxtYwACgkQCXcVR3XQvP1zfAD/eJLpC9cHs4VciTUQHcp8vGIL W3Cgxe9XrGaaQkK4Qd4BAJF3gvZD8ffL1+yBQ4KciZEm+Wgs7hfxNv8lmKiBRAyl =INvJ -----END PGP SIGNATURE----- --l57v44BAC6BStowmvBUomih239IaRB6ff-- --===============9157536177390970224== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============9157536177390970224==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: eduardo.valentin@ti.com (Eduardo Valentin) Date: Wed, 18 Dec 2013 10:47:35 -0400 Subject: [PATCH] thermal: imx_thermal: add module device table In-Reply-To: References: Message-ID: <52B1B587.3050106@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 Acked-by: Eduardo Valentin > --- > 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 = { > -- 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: