clk: gpio-gate: Ensure gpiod_ APIs are prototyped
PATCH 1/1 clk: gpio-gate: Ensure gpiod_ APIs are prototyped
The gpio-gate clock uses the gpiod_ APIs but does not directly include the header for them causing build failures in some configurations including ARM allnoconfig. Include the header directly.
Signed-off-by Mark Brown <[email protected]>
--- drivers/clk/clk-gpio-gate.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/clk-gpio-gate.c +1 -0
@@ -13,6 +13,7 @@#include <linux/module.h> #include <linux/slab.h> #include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <linux/of_gpio.h> #include <linux/err.h> #include <linux/device.h>
Signature · 1 line
2.1.1
Quoted 5 lines · Mark Brown
The gpio-gate clock uses the
gpiod_APIs but does not directly include the header for them causing build failures in some configurations including ARM allnoconfig. Include the header directly.Signed-off-by Mark Brown <[email protected]>
Acked-by Jyri Sarha <[email protected]>
Thanks.
Jyri
Quoted 17 lines
--- drivers/clk/clk-gpio-gate.c | 1 + 1 file changed, 1 insertion(+)drivers/clk/clk-gpio-gate.c +1
-0@@ -13,6 +13,7 @@#include <linux/module.h> #include <linux/slab.h> #include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <linux/of_gpio.h> #include <linux/err.h> #include <linux/device.h>
Quoting Mark Brown (2014-09-30 10:16:22)
Quoted 5 lines
The gpio-gate clock uses the
gpiod_APIs but does not directly include the header for them causing build failures in some configurations including ARM allnoconfig. Include the header directly.Signed-off-by Mark Brown <[email protected]>
Thanks Mark. Applied.
Regards,
Mike
Quoted 19 lines
--- drivers/clk/clk-gpio-gate.c | 1 + 1 file changed, 1 insertion(+)drivers/clk/clk-gpio-gate.c +1
-0@@ -13,6 +13,7 @@#include <linux/module.h> #include <linux/slab.h> #include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <linux/of_gpio.h> #include <linux/err.h> #include <linux/device.h> Signature · 1 line
2.1.1