From: Dmitry Torokhov Date: Mon, 26 Sep 2022 05:44:18 +0000 (-0700) Subject: mfd: madera: Include correct gpio API X-Git-Tag: v6.6.7~3844^2~90 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de5567ca320aee5c99dd7bbebefffb05cc9df9f4;p=platform%2Fkernel%2Flinux-starfive.git mfd: madera: Include correct gpio API The driver is using gpiod API and therefore should include linux/gpio/consumer.h, not linux/gpio.h. Also, the driver does not use any of the APIs from of_gpio.h, so we should not be including it. Signed-off-by: Dmitry Torokhov Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20220926054421.1546436-2-dmitry.torokhov@gmail.com --- diff --git a/drivers/mfd/madera-core.c b/drivers/mfd/madera-core.c index a2abc00..bdbd5bf 100644 --- a/drivers/mfd/madera-core.c +++ b/drivers/mfd/madera-core.c @@ -8,13 +8,12 @@ #include #include #include -#include +#include #include #include #include #include #include -#include #include #include #include