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

From: Loic Pallardy
Date: Thu Dec 15 2016 - 10:24:57 EST


Signed-off-by: Loic Pallardy <loic.pallardy@xxxxxx>
---
drivers/mailbox/mailbox-sti.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mailbox/mailbox-sti.c b/drivers/mailbox/mailbox-sti.c
index a334db5..41bcd33 100644
--- a/drivers/mailbox/mailbox-sti.c
+++ b/drivers/mailbox/mailbox-sti.c
@@ -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)
{
--
1.9.1