mfd: intel_pmt: Only compile on x86
PATCH 1/1 mfd: intel_pmt: Only compile on x86
The intel_pmt driver shows up as a compile option for all arches but is 32-bit and 64-bit x86 specific.
Add a CONFIG dependency on X86 for intel_pmt.
--- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +1 -1
@@ -676,7 +676,7 @@ config MFD_INTEL_PMC_BXT config MFD_INTEL_PMT tristate "Intel Platform Monitoring Technology (PMT) support" - depends on PCI + depends on X86 && PCI select MFD_CORE help The Intel Platform Monitoring Technology (PMT) is an interface that
Signature · 1 line
2.31.1
Hi,
Quoted 9 lines · Prarit Bhargava
The
intel_pmtdriver shows up as a compile option for all arches but is 32-bit and 64-bit x86 specific.Add a CONFIG dependency on X86 for
intel_pmt.Signed-off-by Prarit Bhargava <[email protected]>Cc Lee Jones <[email protected]>Cc David E. Box <[email protected]>Cc Hans de Goede <[email protected]>
Thanks, patch looks good to me:
Regards,
Hans
Quoted 18 lines
--- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mfd/Kconfig +1
-1@@ -676,7 +676,7 @@ config MFD_INTEL_PMC_BXT config MFD_INTEL_PMT tristate "Intel Platform Monitoring Technology (PMT) support" - depends on PCI + depends on X86 && PCI select MFD_CORE help The Intel Platform Monitoring Technology (PMT) is an interface that
David E. Box
Reviewed-byQuoted 14 lines · Hans de Goede
Hi,
Quoted 10 lines · Prarit Bhargava
The
intel_pmtdriver shows up as a compile option for all arches but is
32-bit and 64-bit x86 specific.Add a CONFIG dependency on X86 for
intel_pmt.Signed-off-by Prarit Bhargava <[email protected]>Cc Lee Jones <[email protected]>Cc David E. Box <[email protected]>Cc Hans de Goede <[email protected]>
Quoted 7 lines
Thanks, patch looks good to me:
Reviewed-by Hans de Goede <[email protected]>Regards,
Hans
Okay by me.
Quoted 24 lines
Quoted 23 lines
---
drivers/mfd/Kconfig | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/mfd/Kconfig +0
-0@@ -676,7 +676,7 @@ config MFD_INTEL_PMC_BXT
configMFD_INTEL_PMT
tristate "Intel Platform Monitoring Technology (PMT) support"
- depends on PCI
+ depends on X86 && PCI
selectMFD_CORE
help
The Intel Platform Monitoring Technology (PMT) is an interface that
Lee Jones
AppliedQuoted 5 lines · Prarit Bhargava
The
intel_pmtdriver shows up as a compile option for all arches but is 32-bit and 64-bit x86 specific.Add a CONFIG dependency on X86 for
intel_pmt.
Quoted 7 lines
Signed-off-by Prarit Bhargava <[email protected]>Cc Lee Jones <[email protected]>Cc David E. Box <[email protected]>Cc Hans de Goede <[email protected]>--- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 4 lines
Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog