diff mbox

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

Message ID 1481815478-2688-1-git-send-email-loic.pallardy@st.com
State New
Headers show

Commit Message

Loic Pallardy Dec. 15, 2016, 3:24 p.m. UTC
Signed-off-by: Loic Pallardy <loic.pallardy@st.com>

---
 drivers/mailbox/mailbox-sti.c | 1 +
 1 file changed, 1 insertion(+)

-- 
1.9.1

Comments

Lee Jones Dec. 19, 2016, 12:28 p.m. UTC | #1
On Thu, 15 Dec 2016, Loic Pallardy wrote:

> Signed-off-by: Loic Pallardy <loic.pallardy@st.com>

> ---

>  drivers/mailbox/mailbox-sti.c | 1 +

>  1 file changed, 1 insertion(+)


Acked-by: Lee Jones <lee.jones@linaro.org>


> 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)

>  {


-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
diff mbox

Patch

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)
 {