Skip to contentSkip to conversation

mailbox: sti: add MODULE_DEVICE_TABLE for module autoload

PATCH In review Loic Pallardy 2 participants 2 messages Dec 15, 2016 – Dec 19, 2016 Mailbox API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mailbox: sti: add MODULE_DEVICE_TABLE for module autoload

---
 drivers/mailbox/mailbox-sti.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mailbox/mailbox-sti.c +1 -0
index a334db5..41bcd33 100644
@@ -403,6 +403,7 @@ static struct mbox_chan *sti_mbox_xlate(struct mbox_controller *mbox,
 	},
 	{ }
 };
+MODULE_DEVICE_TABLE(of, sti_mailbox_match);
 
 static int sti_mbox_probe(struct platform_device *pdev)
 {
Signature · 1 line
1.9.1
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Loic Pallardy
---
 drivers/mailbox/mailbox-sti.c | 1 +
 1 file changed, 1 insertion(+)
Quoted 12 lines
drivers/mailbox/mailbox-sti.c +1 -0
index a334db5..41bcd33 100644
@@ -403,6 +403,7 @@ static struct mbox_chan *sti_mbox_xlate(struct mbox_controller *mbox,
 	},
 	{ }
 };
+MODULE_DEVICE_TABLE(of, sti_mailbox_match);
 
 static int sti_mbox_probe(struct platform_device *pdev)
 {
Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog