linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Cercueil <paul@crapouillou.net>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>,
	od@zcrc.me, linux-rtc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC
Date: Mon, 20 Aug 2018 21:18:17 +0200	[thread overview]
Message-ID: <1534792697.1744.0@crapouillou.net> (raw)
In-Reply-To: <20180820191247.GU21707@piout.net>

Hi,

Le lun. 20 ao=FBt 2018 =E0 21:12, Alexandre Belloni=20
<alexandre.belloni@bootlin.com> a =E9crit :
> On 20/08/2018 20:07:16+0200, Paul Cercueil wrote:
>>  Depending on MACH_INGENIC prevent us from creating a generic kernel=20
>> that
>>  works on more than one MIPS board. Instead, we just depend on MIPS=20
>> being
>>  set.
>=20
> Maybe you could consider dropping the whole dependency as we already
> know it will build on every architecture.

Well, I didn't really want the Kconfig option to show on the menu when
compiling for non-MIPS, since it's only ever useful there.

Should I drop the dependency then?

>>=20
>>  Signed-off-by: Paul Cercueil <paul@crapouillou.net>
>>  ---
>>   drivers/rtc/Kconfig | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>=20
>>  diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
>>  index a2ba5db36145..98c7f19256b1 100644
>>  --- a/drivers/rtc/Kconfig
>>  +++ b/drivers/rtc/Kconfig
>>  @@ -1608,7 +1608,7 @@ config RTC_DRV_MPC5121
>>=20
>>   config RTC_DRV_JZ4740
>>   	tristate "Ingenic JZ4740 SoC"
>>  -	depends on MACH_INGENIC || COMPILE_TEST
>>  +	depends on MIPS || COMPILE_TEST
>>   	help
>>   	  If you say yes here you get support for the Ingenic JZ47xx SoCs=20
>> RTC
>>   	  controllers.
>>  --
>>  2.11.0
>>=20
>=20
> --
> Alexandre Belloni, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
=

  reply	other threads:[~2018-08-20 22:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-20 18:07 [PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC Paul Cercueil
2018-08-20 19:12 ` Alexandre Belloni
2018-08-20 19:18   ` Paul Cercueil [this message]
2018-08-20 19:50     ` Alexandre Belloni
2018-08-27 21:00 ` Alexandre Belloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1534792697.1744.0@crapouillou.net \
    --to=paul@crapouillou.net \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@bootlin.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=od@zcrc.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).