From: Armin Wolf Date: Fri, 23 Feb 2024 16:39:01 +0000 (+0100) Subject: platform/x86: intel_scu_ipcutil: Make scu static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2e2431dc64a4272365f4d065ca70a4d4b6ca098e;p=linux.git 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 Signed-off-by: Armin Wolf Reviewed-by: Mika Westerberg Link: https://lore.kernel.org/r/20240223163901.13504-3-W_Armin@gmx.de Signed-off-by: Ilpo Järvinen --- diff --git a/drivers/platform/x86/intel_scu_ipcutil.c b/drivers/platform/x86/intel_scu_ipcutil.c index b7c10c15a3d63..7d87cbd4b9c63 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 */