lkml.org 
[lkml]   [2012]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] gpio: samsung: Add terminating entry for exynos_pinctrl_ids
    From
    Date
    The of_device_id table is supposed to be zero-terminated.

    Signed-off-by: Axel Lin <axel.lin@ingics.com>
    ---
    drivers/gpio/gpio-samsung.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
    index 01f7fe9..9e251be 100644
    --- a/drivers/gpio/gpio-samsung.c
    +++ b/drivers/gpio/gpio-samsung.c
    @@ -3026,6 +3026,7 @@ static __init int samsung_gpiolib_init(void)
    static const struct of_device_id exynos_pinctrl_ids[] = {
    { .compatible = "samsung,pinctrl-exynos4210", },
    { .compatible = "samsung,pinctrl-exynos4x12", },
    + { }
    };
    for_each_matching_node(pctrl_np, exynos_pinctrl_ids)
    if (pctrl_np && of_device_is_available(pctrl_np))
    --
    1.7.9.5




    \
     
     \ /
      Last update: 2012-12-10 03:21    [W:3.986 / U:0.676 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site