Skip to content

Commit

Permalink
pinctrl: imx6sl: introduce MODULE_DEVICE_TABLE for module autoloading
Browse files Browse the repository at this point in the history
Enable autoloading of pinctrl-imx6sl module when a corresponing DT entry is present.

Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Kiran Padwal authored and Linus Walleij committed Aug 29, 2014
1 parent 5dfe10b commit ad3d7f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pinctrl/pinctrl-imx6sl.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ static const struct of_device_id imx6sl_pinctrl_of_match[] = {
{ .compatible = "fsl,imx6sl-iomuxc", },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, imx6sl_pinctrl_of_match);

static int imx6sl_pinctrl_probe(struct platform_device *pdev)
{
Expand Down

0 comments on commit ad3d7f1

Please sign in to comment.