projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4358a9d
)
can: at91_can: add MODULE_DEVICE_TABLE
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Fri, 12 Oct 2012 07:44:51 +0000
(09:44 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 27 Nov 2012 08:49:34 +0000
(09:49 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/at91_can.c
b/drivers/net/can/at91_can.c
index fcff73a73b1d9b068565207f7d46479504fc9723..14b166bdbeafce294de12810524ac827c7351886 100644
(file)
--- 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,