summaryrefslogtreecommitdiff
path: root/drivers/peci/device.c
diff options
context:
space:
mode:
authorIwona Winiarska <iwona.winiarska@intel.com>2022-02-08 18:36:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-09 10:04:44 +0300
commit93e1821c80f9460c8931dc4bc090ede794f966cd (patch)
treec0f41cd8c67095e66f102cd509e98b6b677b2e3e /drivers/peci/device.c
parent6b8145b054b27319dddaad4abbb5184e343375da (diff)
downloadlinux-93e1821c80f9460c8931dc4bc090ede794f966cd.tar.xz
peci: Add peci-cpu driver
PECI is an interface that may be used by different types of devices. Add a peci-cpu driver compatible with Intel processors. The driver is responsible for handling auxiliary devices that can subsequently be used by other drivers (e.g. hwmons). Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com> Link: https://lore.kernel.org/r/20220208153639.255278-10-iwona.winiarska@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/peci/device.c')
-rw-r--r--drivers/peci/device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/peci/device.c b/drivers/peci/device.c
index 184b5e650b0b..e6b0bffb14f4 100644
--- a/drivers/peci/device.c
+++ b/drivers/peci/device.c
@@ -3,6 +3,7 @@
#include <linux/bitfield.h>
#include <linux/peci.h>
+#include <linux/peci-cpu.h>
#include <linux/slab.h>
#include "internal.h"