From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] staging: imx-drm: Add MODULE_DEVICE_TABLE to parallel display
Date: Mon, 17 Jun 2013 09:09:38 +0200 [thread overview]
Message-ID: <20130617070938.GF32299@pengutronix.de> (raw)
In-Reply-To: <1370597806-15718-1-git-send-email-jiada_wang@mentor.com>
On Fri, Jun 07, 2013 at 06:36:46PM +0900, Jiada Wang wrote:
> Add a MODULE_DEVICE_TABLE annotation so that parallel display module
> can be autoloaded based on the device-tree information.
>
> Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha
> ---
> drivers/staging/imx-drm/parallel-display.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/staging/imx-drm/parallel-display.c b/drivers/staging/imx-drm/parallel-display.c
> index e7fba62..3c4e2c6 100644
> --- a/drivers/staging/imx-drm/parallel-display.c
> +++ b/drivers/staging/imx-drm/parallel-display.c
> @@ -265,6 +265,7 @@ static const struct of_device_id imx_pd_dt_ids[] = {
> { .compatible = "fsl,imx-parallel-display", },
> { /* sentinel */ }
> };
> +MODULE_DEVICE_TABLE(of, imx_pd_dt_ids);
>
> static struct platform_driver imx_pd_driver = {
> .probe = imx_pd_probe,
> --
> 1.8.1.1
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2013-06-17 7:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-07 9:36 [PATCH] staging: imx-drm: Add MODULE_DEVICE_TABLE to parallel display Jiada Wang
2013-06-17 7:09 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130617070938.GF32299@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).