projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a3cf6a
)
gpio: msm: Add module device table and mark table const
author
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 10 Dec 2013 23:19:04 +0000
(15:19 -0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 12 Dec 2013 19:03:23 +0000
(20:03 +0100)
This allows the module to be loaded automatically.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-msm-v2.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-msm-v2.c
b/drivers/gpio/gpio-msm-v2.c
index
7b37300
..
81c1d55
100644
(file)
--- a/
drivers/gpio/gpio-msm-v2.c
+++ b/
drivers/gpio/gpio-msm-v2.c
@@
-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)
{