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 broonie@kernel.org --- drivers/clk/clk-gpio-gate.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-gpio-gate.c b/drivers/clk/clk-gpio-gate.c index 9dde88533684..08e43224fd52 100644 --- a/drivers/clk/clk-gpio-gate.c +++ b/drivers/clk/clk-gpio-gate.c @@ -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>
On 09/30/2014 08:16 PM, Mark Brown wrote:
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 broonie@kernel.org
Acked-by: Jyri Sarha jsarha@ti.com
Thanks. Jyri
drivers/clk/clk-gpio-gate.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-gpio-gate.c b/drivers/clk/clk-gpio-gate.c index 9dde88533684..08e43224fd52 100644 --- a/drivers/clk/clk-gpio-gate.c +++ b/drivers/clk/clk-gpio-gate.c @@ -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)
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 broonie@kernel.org
Thanks Mark. Applied.
Regards, Mike
drivers/clk/clk-gpio-gate.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-gpio-gate.c b/drivers/clk/clk-gpio-gate.c index 9dde88533684..08e43224fd52 100644 --- a/drivers/clk/clk-gpio-gate.c +++ b/drivers/clk/clk-gpio-gate.c @@ -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>
2.1.1
kernel-build-reports@lists.linaro.org