aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/Makefile
diff options
context:
space:
mode:
authorGravatar Andy Shevchenko <andriy.shevchenko@linux.intel.com> 2022-07-18 17:53:28 +0300
committerGravatar Hans de Goede <hdegoede@redhat.com> 2022-08-01 16:26:38 +0200
commit42d0d4232ac1620c38a73bd133bf9927c9bc3ac4 (patch)
tree20d447dc9faa1ecb22ee2bbda41b78884db5eeab /drivers/platform/x86/Makefile
parentMerge tag 'ib-mfd-edac-i2c-leds-pinctrl-platform-watchdog-v5.20' into review-... (diff)
downloadlinux-42d0d4232ac1620c38a73bd133bf9927c9bc3ac4.tar.gz
linux-42d0d4232ac1620c38a73bd133bf9927c9bc3ac4.tar.bz2
linux-42d0d4232ac1620c38a73bd133bf9927c9bc3ac4.zip
platform/x86: p2sb: Move out of X86_PLATFORM_DEVICES dependency
The P2SB library is used for various drivers, including server platforms. That's why the dependency on X86_PLATFORM_DEVICES seems superfluous. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20220718145328.14374-1-andriy.shevchenko@linux.intel.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/Makefile')
-rw-r--r--drivers/platform/x86/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile
index a0e417c34a9b..5a428caa654a 100644
--- a/drivers/platform/x86/Makefile
+++ b/drivers/platform/x86/Makefile
@@ -119,6 +119,10 @@ obj-$(CONFIG_X86_ANDROID_TABLETS) += x86-android-tablets.o
# Intel uncore drivers
obj-$(CONFIG_INTEL_IPS) += intel_ips.o
+# Intel miscellaneous drivers
+intel_p2sb-y := p2sb.o
+obj-$(CONFIG_P2SB) += intel_p2sb.o
+
# Intel PMIC / PMC / P-Unit devices
obj-$(CONFIG_INTEL_SCU_IPC) += intel_scu_ipc.o
obj-$(CONFIG_INTEL_SCU_PCI) += intel_scu_pcidrv.o