RTCs shouldn't be modules, ever..
authorImre Kaloz <kaloz@openwrt.org>
Thu, 14 May 2009 09:28:34 +0000 (09:28 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Thu, 14 May 2009 09:28:34 +0000 (09:28 +0000)
SVN-Revision: 15837

package/kernel/modules/other.mk
target/linux/cavium-octeon/config-default

index ac2824ed8903a76d1969cc2ced3ec7523535ea34..392a88ed0fa8de770039c207f91c3afc93013747 100644 (file)
@@ -879,40 +879,3 @@ define KernelPackage/rfkill/description
 endef
 
 $(eval $(call KernelPackage,rfkill))
-
-
-define KernelPackage/rtc-core
-  SUBMENU:=$(OTHER_MENU)
-  TITLE:=Kernel support for RTC devices
-  DEPENDS:=@LINUX_2_6
-  KCONFIG:= \
-       CONFIG_RTC_CLASS \
-       CONFIG_RTC_LIB \
-       CONFIG_RTC_HCTOSYS=y \
-       CONFIG_RTC_HCTOSYS_DEVICE=rtc0
-  FILES:= \
-       $(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX) \
-       $(LINUX_DIR)/drivers/rtc/rtc-lib.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,30,rtc-lib rtc-core)
-endef
-
-define KernelPackage/rtc-core/description
- Kernel module for the RTC devices.
-endef
-
-$(eval $(call KernelPackage,rtc-core))
-
-define KernelPackage/rtc-m48t86
-  SUBMENU:=$(OTHER_MENU)
-  TITLE:=RTC M48T86 / Dallas DS12887
-  DEPENDS:=+kmod-rtc-core
-  KCONFIG:=CONFIG_RTC_DRV_M48T86
-  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-m48t86.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,31,rtc-m48t86)
-endef
-
-define KernelPackage/rtc-m48t86/description
-  Kernel support for the RTC device M48T86 / Dallas DS12887
-endef
-
-$(eval $(call KernelPackage,rtc-m48t86))
index 4c9ef4bb629584bb958331d906be6fd6b60f30e5..560ec7361bbaaa1eea42eb1c1e4472570a2fd96f 100644 (file)
@@ -322,6 +322,8 @@ CONFIG_PROC_PAGE_MONITOR=y
 # CONFIG_PROVE_LOCKING is not set
 # CONFIG_RCU_TORTURE_TEST is not set
 CONFIG_RELAY=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_M48T86=y
 # CONFIG_RTL8187SE is not set
 # CONFIG_RT_GROUP_SCHED is not set
 # CONFIG_RT_MUTEX_TESTER is not set