lkml.org 
[lkml]   [2022]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.10 378/545] ASoC: samsung: h1940_uda1380: include proepr GPIO consumer header
    Date
    From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

    [ Upstream commit bd10b0dafdcf0ec1677cad70101e1f97b9e28f2e ]

    h1940_uda1380 uses gpiod*/GPIOD* so it should include GPIO consumer
    header.

    Fixes: 9666e27f90b9 ("ASoC: samsung: h1940: turn into platform driver")
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Link: https://lore.kernel.org/r/20220627141900.470469-1-krzysztof.kozlowski@linaro.org
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    sound/soc/samsung/h1940_uda1380.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/sound/soc/samsung/h1940_uda1380.c b/sound/soc/samsung/h1940_uda1380.c
    index 8aa78ff640f5..adb6b661c799 100644
    --- a/sound/soc/samsung/h1940_uda1380.c
    +++ b/sound/soc/samsung/h1940_uda1380.c
    @@ -8,7 +8,7 @@
    // Based on version from Arnaud Patard <arnaud.patard@rtp-net.org>

    #include <linux/types.h>
    -#include <linux/gpio.h>
    +#include <linux/gpio/consumer.h>
    #include <linux/module.h>

    #include <sound/soc.h>
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-08-19 18:37    [W:4.242 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site