Fix "unable to open rtc device (rtc0)" in Tizen IVI 12/32012/1
authorcaoxinintel <xinx.cao@intel.com>
Mon, 15 Dec 2014 06:42:52 +0000 (14:42 +0800)
committercaoxinintel <xinx.cao@intel.com>
Mon, 15 Dec 2014 06:42:52 +0000 (14:42 +0800)
Compiling rtc-cmos.c as Module will make hctosys module be loaded
earlier than rtc-cmos. And at that time, rtc0 device is not ready.

Making rtc-cmos.c a kernel built-in module will solve this problem.

Change-Id: I90843576101c7c40a1c7a075d7c4b7e541453c71
Signed-off-by: caoxinintel <xinx.cao@intel.com>
arch/x86/configs/ivi_x86_defconfig

index 744cf44..97068d6 100644 (file)
@@ -642,7 +642,7 @@ CONFIG_MMC_SDHCI_PCI=y
 CONFIG_MMC_SDHCI_ACPI=y
 CONFIG_LEDS_CLASS=y
 CONFIG_RTC_CLASS=y
-CONFIG_RTC_DRV_CMOS=m
+CONFIG_RTC_DRV_CMOS=y
 CONFIG_DMADEVICES=y
 CONFIG_INTEL_IOATDMA=m
 CONFIG_DW_DMAC=m