Message ID | 1461776128-7808-1-git-send-email-ezequiel@vanguardiasur.com.ar (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Apr 27, 2016 at 01:55:28PM -0300, Ezequiel Garcia wrote: > The rtc-lib dependency is not required, and seems it was just > copy-pasted from ARM's Kconfig. If platform requires rtc-lib, > they should select it individually. Are you sure this doesn't break any platforms that are relying on this implicit select? Will > Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> > --- > arch/arm64/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index c8762f4613f0..b9d0a81d391c 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -99,7 +99,6 @@ config ARM64 > select PERF_USE_VMALLOC > select POWER_RESET > select POWER_SUPPLY > - select RTC_LIB > select SPARSE_IRQ > select SYSCTL_EXCEPTION_TRACE > help > -- > 2.7.0 >
On Thursday 28 April 2016 13:24:25 Will Deacon wrote: > On Wed, Apr 27, 2016 at 01:55:28PM -0300, Ezequiel Garcia wrote: > > The rtc-lib dependency is not required, and seems it was just > > copy-pasted from ARM's Kconfig. If platform requires rtc-lib, > > they should select it individually. > > Are you sure this doesn't break any platforms that are relying on this > implicit select? > I have checked this carefully. I actually had a patch that removed this from all of the kernel, but then found some users on other architectures. ARM and ARM64 both don't use it. Arnd
On Thu, Apr 28, 2016 at 02:29:34PM +0200, Arnd Bergmann wrote: > On Thursday 28 April 2016 13:24:25 Will Deacon wrote: > > On Wed, Apr 27, 2016 at 01:55:28PM -0300, Ezequiel Garcia wrote: > > > The rtc-lib dependency is not required, and seems it was just > > > copy-pasted from ARM's Kconfig. If platform requires rtc-lib, > > > they should select it individually. > > > > Are you sure this doesn't break any platforms that are relying on this > > implicit select? > > > > I have checked this carefully. I actually had a patch that removed this > from all of the kernel, but then found some users on other architectures. > ARM and ARM64 both don't use it. Great, thanks Arnd. Can I add your reviewed-by to this patch then, please? Will
On Wednesday 27 April 2016 13:55:28 Ezequiel Garcia wrote: > The rtc-lib dependency is not required, and seems it was just > copy-pasted from ARM's Kconfig. If platform requires rtc-lib, > they should select it individually. > > Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> > --- Reviewed-by: > arch/arm64/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index c8762f4613f0..b9d0a81d391c 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -99,7 +99,6 @@ config ARM64 > select PERF_USE_VMALLOC > select POWER_RESET > select POWER_SUPPLY > - select RTC_LIB > select SPARSE_IRQ > select SYSCTL_EXCEPTION_TRACE > help >
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index c8762f4613f0..b9d0a81d391c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -99,7 +99,6 @@ config ARM64 select PERF_USE_VMALLOC select POWER_RESET select POWER_SUPPLY - select RTC_LIB select SPARSE_IRQ select SYSCTL_EXCEPTION_TRACE help
The rtc-lib dependency is not required, and seems it was just copy-pasted from ARM's Kconfig. If platform requires rtc-lib, they should select it individually. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> --- arch/arm64/Kconfig | 1 - 1 file changed, 1 deletion(-)