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

From: Lee Jones
Date: Mon Dec 19 2016 - 07:24:48 EST


On Thu, 15 Dec 2016, Loic Pallardy wrote:

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

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

> 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