mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] fixup! pinctrl: Add provisions to control GPIO pin direction
@ 2016-11-15 16:22 Andrey Smirnov
  2016-11-15 16:22 ` [PATCH 2/2] fixup! clk: Port of_clk_set_defaults() Andrey Smirnov
  2016-11-17  6:56 ` [PATCH 1/2] fixup! pinctrl: Add provisions to control GPIO pin direction Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Andrey Smirnov @ 2016-11-15 16:22 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

---

Sascha:

These two are fixup for issues in my Vybrid patch series, patch #2 is
for the issue you experienced and this one is for another issue I
found when building cupid_defconfig.

If you'd rather I post v3 version of the patchset with all of this
incorporated, let me know.

Thanks,
Andrey

 include/pinctrl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/pinctrl.h b/include/pinctrl.h
index 0fde3f9..7d87169 100644
--- a/include/pinctrl.h
+++ b/include/pinctrl.h
@@ -49,7 +49,7 @@ static inline int of_pinctrl_select_state_default(struct device_node *np)
 	return -ENODEV;
 }
 
-static inline int pinctrl_gpio_direction_input(unsigend pin)
+static inline int pinctrl_gpio_direction_input(unsigned pin)
 {
 	return -ENOTSUPP;
 }
-- 
2.5.5


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] fixup! clk: Port of_clk_set_defaults()
  2016-11-15 16:22 [PATCH 1/2] fixup! pinctrl: Add provisions to control GPIO pin direction Andrey Smirnov
@ 2016-11-15 16:22 ` Andrey Smirnov
  2016-11-17  6:56 ` [PATCH 1/2] fixup! pinctrl: Add provisions to control GPIO pin direction Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Andrey Smirnov @ 2016-11-15 16:22 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

---
 drivers/clk/clk-conf.c       | 4 ++++
 include/linux/clk/clk-conf.h | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/drivers/clk/clk-conf.c b/drivers/clk/clk-conf.c
index 961fad8..93271b4 100644
--- a/drivers/clk/clk-conf.c
+++ b/drivers/clk/clk-conf.c
@@ -14,6 +14,8 @@
 #include <linux/err.h>
 #include <linux/clk/clk-conf.h>
 
+#if defined(CONFIG_OFTREE) && defined(CONFIG_COMMON_CLK_OF_PROVIDER)
+
 static int __set_clk_parents(struct device_node *node, bool clk_supplier)
 {
 	struct of_phandle_args clkspec;
@@ -142,3 +144,5 @@ int of_clk_set_defaults(struct device_node *node, bool clk_supplier)
 	return __set_clk_rates(node, clk_supplier);
 }
 EXPORT_SYMBOL_GPL(of_clk_set_defaults);
+
+#endif
diff --git a/include/linux/clk/clk-conf.h b/include/linux/clk/clk-conf.h
index 0b8a973..8f4382e 100644
--- a/include/linux/clk/clk-conf.h
+++ b/include/linux/clk/clk-conf.h
@@ -7,8 +7,11 @@
  * published by the Free Software Foundation.
  */
 
+#if defined(CONFIG_OFTREE) && defined(CONFIG_COMMON_CLK_OF_PROVIDER)
+
 #include <linux/types.h>
 
 struct device_node;
 int of_clk_set_defaults(struct device_node *node, bool clk_supplier);
 
+#endif
-- 
2.5.5


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] fixup! pinctrl: Add provisions to control GPIO pin direction
  2016-11-15 16:22 [PATCH 1/2] fixup! pinctrl: Add provisions to control GPIO pin direction Andrey Smirnov
  2016-11-15 16:22 ` [PATCH 2/2] fixup! clk: Port of_clk_set_defaults() Andrey Smirnov
@ 2016-11-17  6:56 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2016-11-17  6:56 UTC (permalink / raw)
  To: Andrey Smirnov; +Cc: barebox

On Tue, Nov 15, 2016 at 08:22:55AM -0800, Andrey Smirnov wrote:
> ---
> 
> Sascha:
> 
> These two are fixup for issues in my Vybrid patch series, patch #2 is
> for the issue you experienced and this one is for another issue I
> found when building cupid_defconfig.
> 
> If you'd rather I post v3 version of the patchset with all of this
> incorporated, let me know.

Not necessary, thanks. The updated series is just compile testing, let's
see what that gives us.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-17  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-15 16:22 [PATCH 1/2] fixup! pinctrl: Add provisions to control GPIO pin direction Andrey Smirnov
2016-11-15 16:22 ` [PATCH 2/2] fixup! clk: Port of_clk_set_defaults() Andrey Smirnov
2016-11-17  6:56 ` [PATCH 1/2] fixup! pinctrl: Add provisions to control GPIO pin direction Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox