mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] mfd: syscon: fix exported symbol name
@ 2016-09-27  9:59 Lucas Stach
  2016-09-27  9:59 ` [PATCH 2/2] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
  2016-09-27 10:24 ` [PATCH 1/2] mfd: syscon: fix exported symbol name Antony Pavlov
  0 siblings, 2 replies; 4+ messages in thread
From: Lucas Stach @ 2016-09-27  9:59 UTC (permalink / raw)
  To: barebox

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/mfd/syscon.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
index 295e210f6e2d..9f8baee1aadf 100644
--- a/drivers/mfd/syscon.c
+++ b/drivers/mfd/syscon.c
@@ -76,8 +76,7 @@ static void __iomem *syscon_node_to_base(struct device_node *np)
 
 	return syscon->base;
 }
-EXPORT_SYMBOL_GPL(syscon_node_to_regmap);
-
+EXPORT_SYMBOL_GPL(syscon_node_to_base);
 
 void __iomem *syscon_base_lookup_by_pdevname(const char *s)
 {
-- 
2.9.3


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

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

* [PATCH 2/2] serial: arm_dcc: depend on !CPU_V8
  2016-09-27  9:59 [PATCH 1/2] mfd: syscon: fix exported symbol name Lucas Stach
@ 2016-09-27  9:59 ` Lucas Stach
  2016-09-27 10:24 ` [PATCH 1/2] mfd: syscon: fix exported symbol name Antony Pavlov
  1 sibling, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2016-09-27  9:59 UTC (permalink / raw)
  To: barebox

The DCC console uses coprocessor registers registers accesses, the
implementation of those for ARMv8 is currently missing.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 146bf1ec3c30..b112d7ee044a 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -2,7 +2,7 @@ menu "serial drivers"
 	depends on !CONSOLE_NONE
 
 config DRIVER_SERIAL_ARM_DCC
-	depends on ARM
+	depends on ARM && !CPU_V8
 	bool "ARM Debug Communications Channel (DCC) serial driver"
 
 config SERIAL_AMBA_PL011
-- 
2.9.3


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

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

* Re: [PATCH 1/2] mfd: syscon: fix exported symbol name
  2016-09-27 10:24 ` [PATCH 1/2] mfd: syscon: fix exported symbol name Antony Pavlov
@ 2016-09-27 10:22   ` Lucas Stach
  0 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2016-09-27 10:22 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

Am Dienstag, den 27.09.2016, 13:24 +0300 schrieb Antony Pavlov:
> On Tue, 27 Sep 2016 11:59:18 +0200
> Lucas Stach <l.stach@pengutronix.de> wrote:
> 
> > Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> > ---
> >  drivers/mfd/syscon.c | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> > 
> > diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
> > index 295e210f6e2d..9f8baee1aadf 100644
> > --- a/drivers/mfd/syscon.c
> > +++ b/drivers/mfd/syscon.c
> > @@ -76,8 +76,7 @@ static void __iomem *syscon_node_to_base(struct device_node *np)
>                     ^^^^^^
> 
> Hmm. In the current next and master branches syscon_node_to_base() is a static function.
> Can we just drop this EXPORT_SYMBOL_GPL()?
> 
You are right. I'll just drop the EXPORT_SYMBOL.

Thanks,
Lucas


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

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

* Re: [PATCH 1/2] mfd: syscon: fix exported symbol name
  2016-09-27  9:59 [PATCH 1/2] mfd: syscon: fix exported symbol name Lucas Stach
  2016-09-27  9:59 ` [PATCH 2/2] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
@ 2016-09-27 10:24 ` Antony Pavlov
  2016-09-27 10:22   ` Lucas Stach
  1 sibling, 1 reply; 4+ messages in thread
From: Antony Pavlov @ 2016-09-27 10:24 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Tue, 27 Sep 2016 11:59:18 +0200
Lucas Stach <l.stach@pengutronix.de> wrote:

> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  drivers/mfd/syscon.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
> index 295e210f6e2d..9f8baee1aadf 100644
> --- a/drivers/mfd/syscon.c
> +++ b/drivers/mfd/syscon.c
> @@ -76,8 +76,7 @@ static void __iomem *syscon_node_to_base(struct device_node *np)
                    ^^^^^^

Hmm. In the current next and master branches syscon_node_to_base() is a static function.
Can we just drop this EXPORT_SYMBOL_GPL()?

>  	return syscon->base;
>  }
> -EXPORT_SYMBOL_GPL(syscon_node_to_regmap);
> -
> +EXPORT_SYMBOL_GPL(syscon_node_to_base);
>  
>  void __iomem *syscon_base_lookup_by_pdevname(const char *s)
>  {
> -- 
> 2.9.3
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox


-- 
-- 
Best regards,
  Antony Pavlov

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

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

end of thread, other threads:[~2016-09-27 10:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27  9:59 [PATCH 1/2] mfd: syscon: fix exported symbol name Lucas Stach
2016-09-27  9:59 ` [PATCH 2/2] serial: arm_dcc: depend on !CPU_V8 Lucas Stach
2016-09-27 10:24 ` [PATCH 1/2] mfd: syscon: fix exported symbol name Antony Pavlov
2016-09-27 10:22   ` Lucas Stach

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