[source] kernel: enable hwmon-k10temp in the x86/64 kernel config instead of packaging it

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 26 04:32:02 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/b24d91faf1551cfe993c1c755f75d947f4ff74b0

commit b24d91faf1551cfe993c1c755f75d947f4ff74b0
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sun Feb 26 10:38:51 2017 +0100

    kernel: enable hwmon-k10temp in the x86/64 kernel config instead of packaging it
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/kernel/linux/modules/hwmon.mk | 16 ----------------
 target/linux/x86/64/config-default    |  3 ++-
 2 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 6223a37..b39a2e2 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -386,19 +386,3 @@ define KernelPackage/hwmon-pwmfan/description
 endef
 
 $(eval $(call KernelPackage,hwmon-pwmfan))
-
-
-define KernelPackage/hwmon-k10temp
-  TITLE:=AMD Family 10h+ temperature sensor
-  KCONFIG:=CONFIG_SENSORS_K10TEMP
-  FILES:=$(LINUX_DIR)/drivers/hwmon/k10temp.ko
-  AUTOLOAD:=$(call AutoLoad,60,k10temp)
-  $(call AddDepends/hwmon, at PCI_SUPPORT @TARGET_x86)
-endef
-
-define KernelPackage/hwmon-k10temp/description
-  Thermal sensor support for AMD 10h, 11h, 12h (Llano), 14h (Brazos),
-  15h (Bulldozer/Trinity/Kaveri) and 16h (Kabini/Mullins) CPUs
-endef
-
-$(eval $(call KernelPackage,hwmon-k10temp))
diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
index f1349f8..35c6a5e 100644
--- a/target/linux/x86/64/config-default
+++ b/target/linux/x86/64/config-default
@@ -168,6 +168,7 @@ CONFIG_HPET=y
 CONFIG_HPET_MMAP=y
 # CONFIG_HP_ACCEL is not set
 CONFIG_HVC_DRIVER=y
+CONFIG_HWMON=y
 CONFIG_HW_RANDOM_AMD=y
 CONFIG_HW_RANDOM_INTEL=y
 CONFIG_HW_RANDOM_VIRTIO=y
@@ -227,7 +228,6 @@ CONFIG_PARAVIRT=y
 CONFIG_PARAVIRT_CLOCK=y
 # CONFIG_PARAVIRT_DEBUG is not set
 CONFIG_PARAVIRT_SPINLOCKS=y
-# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
 CONFIG_PATA_AMD=y
 CONFIG_PATA_ATIIXP=y
 CONFIG_PATA_LEGACY=y
@@ -264,6 +264,7 @@ CONFIG_SCHED_MC=y
 CONFIG_SCHED_SMT=y
 # CONFIG_SCIF_BUS is not set
 CONFIG_SCSI_VIRTIO=y
+CONFIG_SENSORS_K10TEMP=y
 CONFIG_SERIAL_8250_PNP=y
 CONFIG_SMP=y
 CONFIG_SPARSEMEM=y



More information about the lede-commits mailing list