Revert "sunxi: add rtc-sun6i driver package"
authorDaniel Golle <daniel@makrotopia.org>
Sun, 21 Nov 2021 21:27:52 +0000 (21:27 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 21 Nov 2021 21:29:49 +0000 (21:29 +0000)
sun6i-rtc is a builtin_platform_driver and cannot be built as a module.
Hence this reverts commit e178d9a5494747a9b6ea34f2fc9e798b4b1ecc16.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/sunxi/modules.mk

index 244c9ca508c263d13ac0ffe61d85c8c23d863ef1..99f4db760446964bce5265c8d7cd0a942b8bbec0 100644 (file)
@@ -20,24 +20,6 @@ endef
 
 $(eval $(call KernelPackage,rtc-sunxi))
 
-define KernelPackage/rtc-sun6i
-    SUBMENU:=$(OTHER_MENU)
-    TITLE:=Sun6i SoC built-in RTC support
-    DEPENDS:=@TARGET_sunxi
-    $(call AddDepends/rtc)
-    KCONFIG:= \
-       CONFIG_RTC_DRV_SUN6I \
-       CONFIG_RTC_CLASS=y
-    FILES:=$(LINUX_DIR)/drivers/rtc/rtc-sun6i.ko
-    AUTOLOAD:=$(call AutoLoad,50,rtc-sun6i)
-endef
-
-define KernelPackage/rtc-sun6i/description
- Support for the AllWinner sun6i SoC's onboard RTC
-endef
-
-$(eval $(call KernelPackage,rtc-sun6i))
-
 define KernelPackage/sunxi-ir
     SUBMENU:=$(OTHER_MENU)
     TITLE:=Sunxi SoC built-in IR support (A20)