Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcffa97f authored by Stephen Boyd's avatar Stephen Boyd Committed by Linus Walleij
Browse files

gpio: msm: Add module device table and mark table const



This allows the module to be loaded automatically.

Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2a3cf6a3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -430,10 +430,11 @@ static int msm_gpio_probe(struct platform_device *pdev)
	return 0;
}

static struct of_device_id msm_gpio_of_match[] = {
static const struct of_device_id msm_gpio_of_match[] = {
	{ .compatible = "qcom,msm-gpio", },
	{ },
};
MODULE_DEVICE_TABLE(of, msm_gpio_of_match);

static int msm_gpio_remove(struct platform_device *dev)
{