aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2024-02-23 17:39:01 +0100
committerIlpo Järvinen <[email protected]>2024-03-12 12:47:43 +0200
commit2e2431dc64a4272365f4d065ca70a4d4b6ca098e (patch)
tree8d3aa4aca39ecc7999804968dcc18c5c0d829d8e
parentbb05226c840ce577d65d91b1fea51d6638c3c896 (diff)
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 <[email protected]> Signed-off-by: Armin Wolf <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ilpo Järvinen <[email protected]>
-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 */