diff mbox

serial: sh_sci: remove HAVE_CLK build dependecy

Message ID 2f1dd25b19bf588948fbebc734eebe5d61ca7007.1391628518.git.baruch@tkos.co.il (mailing list archive)
State Superseded
Headers show

Commit Message

Baruch Siach Feb. 5, 2014, 7:28 p.m. UTC
Since 93abe8e4 (clk: add non CONFIG_HAVE_CLK routines) code using clk.h
like this driver needs not depend on HAVE_CLK.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Horman Feb. 6, 2014, 6:40 a.m. UTC | #1
On Wed, Feb 05, 2014 at 09:28:38PM +0200, Baruch Siach wrote:
> Since 93abe8e4 (clk: add non CONFIG_HAVE_CLK routines) code using clk.h
> like this driver needs not depend on HAVE_CLK.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Acked-by: Simon Horman <horms+renesas@verge.net.au>

> ---
>  drivers/tty/serial/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> index a3815eaed421..ce6fd1dd0864 100644
> --- a/drivers/tty/serial/Kconfig
> +++ b/drivers/tty/serial/Kconfig
> @@ -708,7 +708,7 @@ config SERIAL_IP22_ZILOG_CONSOLE
>  
>  config SERIAL_SH_SCI
>  	tristate "SuperH SCI(F) serial port support"
> -	depends on HAVE_CLK && (SUPERH || ARM || COMPILE_TEST)
> +	depends on SUPERH || ARM || COMPILE_TEST
>  	select SERIAL_CORE
>  
>  config SERIAL_SH_SCI_NR_UARTS
> -- 
> 1.8.5.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Baruch Siach Feb. 6, 2014, 7:18 a.m. UTC | #2
Hi Simon,

On Thu, Feb 06, 2014 at 03:40:56PM +0900, Simon Horman wrote:
> On Wed, Feb 05, 2014 at 09:28:38PM +0200, Baruch Siach wrote:
> > Since 93abe8e4 (clk: add non CONFIG_HAVE_CLK routines) code using clk.h
> > like this driver needs not depend on HAVE_CLK.
> > 
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> 
> Acked-by: Simon Horman <horms+renesas@verge.net.au>

Thanks. This patch conflicts with another sh_sci patch you have just posted 
(http://article.gmane.org/gmane.linux.serial/13640). How would you like this 
to be handled?

baruch

> > ---
> >  drivers/tty/serial/Kconfig | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> > index a3815eaed421..ce6fd1dd0864 100644
> > --- a/drivers/tty/serial/Kconfig
> > +++ b/drivers/tty/serial/Kconfig
> > @@ -708,7 +708,7 @@ config SERIAL_IP22_ZILOG_CONSOLE
> >  
> >  config SERIAL_SH_SCI
> >  	tristate "SuperH SCI(F) serial port support"
> > -	depends on HAVE_CLK && (SUPERH || ARM || COMPILE_TEST)
> > +	depends on SUPERH || ARM || COMPILE_TEST
> >  	select SERIAL_CORE
> >  
> >  config SERIAL_SH_SCI_NR_UARTS
> > -- 
> > 1.8.5.3
Simon Horman Feb. 6, 2014, 7:25 a.m. UTC | #3
On Thu, Feb 06, 2014 at 09:18:21AM +0200, Baruch Siach wrote:
> Hi Simon,
> 
> On Thu, Feb 06, 2014 at 03:40:56PM +0900, Simon Horman wrote:
> > On Wed, Feb 05, 2014 at 09:28:38PM +0200, Baruch Siach wrote:
> > > Since 93abe8e4 (clk: add non CONFIG_HAVE_CLK routines) code using clk.h
> > > like this driver needs not depend on HAVE_CLK.
> > > 
> > > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > 
> > Acked-by: Simon Horman <horms+renesas@verge.net.au>
> 
> Thanks. This patch conflicts with another sh_sci patch you have just posted 
> (http://article.gmane.org/gmane.linux.serial/13640). How would you like this 
> to be handled?

Indeed it does, sorry for not noticing that.

Perhaps it would be best to drop the patch that I posted?

> baruch
> 
> > > ---
> > >  drivers/tty/serial/Kconfig | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> > > index a3815eaed421..ce6fd1dd0864 100644
> > > --- a/drivers/tty/serial/Kconfig
> > > +++ b/drivers/tty/serial/Kconfig
> > > @@ -708,7 +708,7 @@ config SERIAL_IP22_ZILOG_CONSOLE
> > >  
> > >  config SERIAL_SH_SCI
> > >  	tristate "SuperH SCI(F) serial port support"
> > > -	depends on HAVE_CLK && (SUPERH || ARM || COMPILE_TEST)
> > > +	depends on SUPERH || ARM || COMPILE_TEST
> > >  	select SERIAL_CORE
> > >  
> > >  config SERIAL_SH_SCI_NR_UARTS
> > > -- 
> > > 1.8.5.3
> 
> -- 
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Baruch Siach Feb. 6, 2014, 7:38 a.m. UTC | #4
Hi Simon,

On Thu, Feb 06, 2014 at 04:25:57PM +0900, Simon Horman wrote:
> On Thu, Feb 06, 2014 at 09:18:21AM +0200, Baruch Siach wrote:
> > On Thu, Feb 06, 2014 at 03:40:56PM +0900, Simon Horman wrote:
> > > On Wed, Feb 05, 2014 at 09:28:38PM +0200, Baruch Siach wrote:
> > > > Since 93abe8e4 (clk: add non CONFIG_HAVE_CLK routines) code using clk.h
> > > > like this driver needs not depend on HAVE_CLK.
> > > > 
> > > > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > > 
> > > Acked-by: Simon Horman <horms+renesas@verge.net.au>
> > 
> > Thanks. This patch conflicts with another sh_sci patch you have just posted 
> > (http://article.gmane.org/gmane.linux.serial/13640). How would you like this 
> > to be handled?
> 
> Indeed it does, sorry for not noticing that.
> 
> Perhaps it would be best to drop the patch that I posted?

Why drop? There is no logical conflict between the patches, only textual. So 
we just need to serialize them to solve the conflict, and have them go via the 
same tree.

baruch

> > > > ---
> > > >  drivers/tty/serial/Kconfig | 2 +-
> > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > > 
> > > > diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> > > > index a3815eaed421..ce6fd1dd0864 100644
> > > > --- a/drivers/tty/serial/Kconfig
> > > > +++ b/drivers/tty/serial/Kconfig
> > > > @@ -708,7 +708,7 @@ config SERIAL_IP22_ZILOG_CONSOLE
> > > >  
> > > >  config SERIAL_SH_SCI
> > > >  	tristate "SuperH SCI(F) serial port support"
> > > > -	depends on HAVE_CLK && (SUPERH || ARM || COMPILE_TEST)
> > > > +	depends on SUPERH || ARM || COMPILE_TEST
> > > >  	select SERIAL_CORE
> > > >  
> > > >  config SERIAL_SH_SCI_NR_UARTS
> > > > -- 
> > > > 1.8.5.3
Simon Horman Feb. 6, 2014, 8:28 a.m. UTC | #5
On Thu, Feb 06, 2014 at 09:38:01AM +0200, Baruch Siach wrote:
> Hi Simon,
> 
> On Thu, Feb 06, 2014 at 04:25:57PM +0900, Simon Horman wrote:
> > On Thu, Feb 06, 2014 at 09:18:21AM +0200, Baruch Siach wrote:
> > > On Thu, Feb 06, 2014 at 03:40:56PM +0900, Simon Horman wrote:
> > > > On Wed, Feb 05, 2014 at 09:28:38PM +0200, Baruch Siach wrote:
> > > > > Since 93abe8e4 (clk: add non CONFIG_HAVE_CLK routines) code using clk.h
> > > > > like this driver needs not depend on HAVE_CLK.
> > > > > 
> > > > > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > > > 
> > > > Acked-by: Simon Horman <horms+renesas@verge.net.au>
> > > 
> > > Thanks. This patch conflicts with another sh_sci patch you have just posted 
> > > (http://article.gmane.org/gmane.linux.serial/13640). How would you like this 
> > > to be handled?
> > 
> > Indeed it does, sorry for not noticing that.
> > 
> > Perhaps it would be best to drop the patch that I posted?
> 
> Why drop? There is no logical conflict between the patches, only textual. So 
> we just need to serialize them to solve the conflict, and have them go via the 
> same tree.

Ok. Could you rebase and repost your patch on top of the patches that
I posted earlier. The reason that I suggest this is that the patches
I posted have been around publicly for some time, albeit not merged by Greg.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index a3815eaed421..ce6fd1dd0864 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -708,7 +708,7 @@  config SERIAL_IP22_ZILOG_CONSOLE
 
 config SERIAL_SH_SCI
 	tristate "SuperH SCI(F) serial port support"
-	depends on HAVE_CLK && (SUPERH || ARM || COMPILE_TEST)
+	depends on SUPERH || ARM || COMPILE_TEST
 	select SERIAL_CORE
 
 config SERIAL_SH_SCI_NR_UARTS