From: Marc Kleine-Budde <mkl@pengutronix.de>
To: linux-can@vger.kernel.org
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Subject: [PATCH 8/8] can: mpc5xxx_can: add MODULE_DEVICE_TABLE
Date: Thu, 22 Nov 2012 13:19:50 +0100 [thread overview]
Message-ID: <1353586790-30791-9-git-send-email-mkl@pengutronix.de> (raw)
In-Reply-To: <1353586790-30791-1-git-send-email-mkl@pengutronix.de>
This patch adds a MODULE_DEVICE_TABLE for the of bindings, so that the module
can be loaded automatically by udev.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/mscan/mpc5xxx_can.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.c
index 799c354..514d020 100644
--- a/drivers/net/can/mscan/mpc5xxx_can.c
+++ b/drivers/net/can/mscan/mpc5xxx_can.c
@@ -396,6 +396,7 @@ static const struct of_device_id __devinitconst mpc5xxx_can_table[] = {
{ .compatible = "fsl,mpc5121-mscan", .data = &mpc5121_can_data, },
{},
};
+MODULE_DEVICE_TABLE(of, mpc5xxx_can_table);
static struct platform_driver mpc5xxx_can_driver = {
.driver = {
--
1.7.10.4
prev parent reply other threads:[~2012-11-22 19:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-22 12:19 [PATCH 0/8] can: add MODULE_ALIAS and MODULE_DEVICE_TABLE Marc Kleine-Budde
2012-11-22 12:19 ` [PATCH 1/8] can: bfin_can: add MODULE_ALIAS Marc Kleine-Budde
2012-11-22 12:19 ` [PATCH 2/8] can: ti_hecc: " Marc Kleine-Budde
2012-11-22 14:03 ` Jan Lübbe
2012-11-22 12:19 ` [PATCH 3/8] can: sja1000_platform: " Marc Kleine-Budde
2012-11-22 12:19 ` [PATCH 4/8] can: cc770_platform: add MODULE_ALIAS and MODULE_DEVICE_TABLE Marc Kleine-Budde
2012-11-22 12:19 ` [PATCH 5/8] can: flexcan: add MODULE_DEVICE_TABLE Marc Kleine-Budde
2012-11-22 12:19 ` [PATCH 6/8] can: at91_can: " Marc Kleine-Budde
2012-11-22 12:19 ` [PATCH 7/8] can: c_can_platform: " Marc Kleine-Budde
2012-11-22 12:19 ` Marc Kleine-Budde [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=1353586790-30791-9-git-send-email-mkl@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=linux-can@vger.kernel.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).