summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel_scu_ipcutil.c
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2024-02-23 19:39:01 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-03-12 13:47:43 +0300
commit2e2431dc64a4272365f4d065ca70a4d4b6ca098e (patch)
tree8d3aa4aca39ecc7999804968dcc18c5c0d829d8e /drivers/platform/x86/intel_scu_ipcutil.c
parentbb05226c840ce577d65d91b1fea51d6638c3c896 (diff)
downloadlinux-2e2431dc64a4272365f4d065ca70a4d4b6ca098e.tar.xz
platform/x86: intel_scu_ipcutil: Make scu static
The variable is only used internally and has no external users, so it should me made static. Compile-tested only. Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Signed-off-by: Armin Wolf <W_Armin@gmx.de> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Link: https://lore.kernel.org/r/20240223163901.13504-3-W_Armin@gmx.de Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel_scu_ipcutil.c')
-rw-r--r--drivers/platform/x86/intel_scu_ipcutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel_scu_ipcutil.c b/drivers/platform/x86/intel_scu_ipcutil.c
index b7c10c15a3d6..7d87cbd4b9c6 100644
--- a/drivers/platform/x86/intel_scu_ipcutil.c
+++ b/drivers/platform/x86/intel_scu_ipcutil.c
@@ -22,7 +22,7 @@
static int major;
-struct intel_scu_ipc_dev *scu;
+static struct intel_scu_ipc_dev *scu;
static DEFINE_MUTEX(scu_lock);
/* IOCTL commands */