From: Marc Kleine-Budde <mkl@pengutronix.de>
To: linux-can@vger.kernel.org
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Subject: [PATCH 6/8] can: at91_can: add MODULE_DEVICE_TABLE
Date: Thu, 22 Nov 2012 13:19:48 +0100 [thread overview]
Message-ID: <1353586790-30791-7-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 platform bindings, so that the
module can be loaded automatically by udev.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/at91_can.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c
index fcff73a..14b166b 100644
--- a/drivers/net/can/at91_can.c
+++ b/drivers/net/can/at91_can.c
@@ -1372,6 +1372,7 @@ static const struct platform_device_id at91_can_id_table[] = {
/* sentinel */
}
};
+MODULE_DEVICE_TABLE(platform, at91_can_id_table);
static struct platform_driver at91_can_driver = {
.probe = at91_can_probe,
--
1.7.10.4
next prev parent reply other threads:[~2012-11-22 19:20 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 ` Marc Kleine-Budde [this message]
2012-11-22 12:19 ` [PATCH 7/8] can: c_can_platform: " Marc Kleine-Budde
2012-11-22 12:19 ` [PATCH 8/8] can: mpc5xxx_can: " Marc Kleine-Budde
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-7-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).