diff options
Diffstat (limited to 'drivers/gpio/gpio-msm-v2.c')
-rw-r--r-- | drivers/gpio/gpio-msm-v2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-msm-v2.c b/drivers/gpio/gpio-msm-v2.c index 2baf0ddf7e02..a3351acd4963 100644 --- 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) | |||
430 | return 0; | 430 | return 0; |
431 | } | 431 | } |
432 | 432 | ||
433 | static struct of_device_id msm_gpio_of_match[] = { | 433 | static const struct of_device_id msm_gpio_of_match[] = { |
434 | { .compatible = "qcom,msm-gpio", }, | 434 | { .compatible = "qcom,msm-gpio", }, |
435 | { }, | 435 | { }, |
436 | }; | 436 | }; |
437 | MODULE_DEVICE_TABLE(of, msm_gpio_of_match); | ||
437 | 438 | ||
438 | static int msm_gpio_remove(struct platform_device *dev) | 439 | static int msm_gpio_remove(struct platform_device *dev) |
439 | { | 440 | { |