diff options
author | Ben Kohler <bkohler@gmail.com> | 2013-06-09 11:58:23 -0400 |
---|---|---|
committer | Richard Yao <ryao@cs.stonybrook.edu> | 2013-06-09 11:58:23 -0400 |
commit | 3817a4959faa3d93df9d1340364f77020271d1f2 (patch) | |
tree | 1f5f911f9badeb7ff1e04f87a10dcb18971202b0 /arch | |
parent | Bump version to 3.4.47 (diff) | |
download | genkernel-3817a4959faa3d93df9d1340364f77020271d1f2.tar.gz genkernel-3817a4959faa3d93df9d1340364f77020271d1f2.tar.bz2 genkernel-3817a4959faa3d93df9d1340364f77020271d1f2.zip |
Fix RTC support in generic config files, bug #444932
Although the shipping kernel-config with genkernel has ~10 of these
various RTC hardware drivers marked as modules, the resulting built
kernel & initramfs has these things disabled. Here's an excerpt from
arch/x86_64/kernel-config:
CONFIG_RTC_CLASS=m
CONFIG_RTC_DRV_DS1374=m
CONFIG_RTC_DRV_MAX6900=m
CONFIG_RTC_DRV_M41T80=m
CONFIG_RTC_DRV_CMOS=m
CONFIG_RTC_DRV_DS1553=m
CONFIG_RTC_DRV_DS1742=m
CONFIG_RTC_DRV_STK17TA8=m
CONFIG_RTC_DRV_M48T86=m
CONFIG_RTC_DRV_M48T59=m
CONFIG_RTC_DRV_V3020=m
The problem is that CONFIG_RTC_CLASS is a boolean, not tristate, so =m
is not valid, and so all things depending on RTC_CLASS get dropped from
the config. Changing this to CONFIG_RTC_CLASS=y should fix the issue, I
have tested this locally with success.
Signed-off-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel-config | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel-config | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel-config b/arch/x86/kernel-config index baa727c1..bfaf75d2 100644 --- a/arch/x86/kernel-config +++ b/arch/x86/kernel-config @@ -3176,7 +3176,7 @@ CONFIG_INFINIBAND_SRP=m CONFIG_INFINIBAND_ISER=m # CONFIG_EDAC is not set CONFIG_RTC_LIB=m -CONFIG_RTC_CLASS=m +CONFIG_RTC_CLASS=y # # RTC interfaces diff --git a/arch/x86_64/kernel-config b/arch/x86_64/kernel-config index cdb9c456..4209191e 100644 --- a/arch/x86_64/kernel-config +++ b/arch/x86_64/kernel-config @@ -2861,7 +2861,7 @@ CONFIG_INFINIBAND_SRP=m CONFIG_INFINIBAND_ISER=m # CONFIG_EDAC is not set CONFIG_RTC_LIB=m -CONFIG_RTC_CLASS=m +CONFIG_RTC_CLASS=y # # RTC interfaces |