[PATCH] x86/hwmon: pkgtemp has no dependency on PCI

From: Jan Beulich
Date: Mon Sep 13 2010 - 06:24:55 EST


Other than coretemp, from which this code was apparently derived, there
is no PCI specific code in this driver.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx>

---
drivers/hwmon/Kconfig | 2 +-
drivers/hwmon/pkgtemp.c | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.36-rc4/drivers/hwmon/Kconfig 2010-09-13 08:45:02.000000000 +0200
+++ 2.6.36-rc4-x86-pkgtemp-no-pci/drivers/hwmon/Kconfig 2010-09-10 16:24:16.000000000 +0200
@@ -409,7 +409,7 @@ config SENSORS_CORETEMP

config SENSORS_PKGTEMP
tristate "Intel processor package temperature sensor"
- depends on X86 && PCI && EXPERIMENTAL
+ depends on X86 && EXPERIMENTAL
help
If you say yes here you get support for the package level temperature
sensor inside your CPU. Check documentation/driver for details.
--- linux-2.6.36-rc4/drivers/hwmon/pkgtemp.c 2010-09-13 08:45:03.000000000 +0200
+++ 2.6.36-rc4-x86-pkgtemp-no-pci/drivers/hwmon/pkgtemp.c 2010-09-03 17:54:30.000000000 +0200
@@ -33,7 +33,6 @@
#include <linux/list.h>
#include <linux/platform_device.h>
#include <linux/cpu.h>
-#include <linux/pci.h>
#include <asm/msr.h>
#include <asm/processor.h>




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/