From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 758C315198D; Wed, 5 Feb 2025 14:12:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738764770; cv=none; b=QwKYae9g1yskaYkbCsFcfo9OuNrXH9zRq1jzmvinEdsUnBVVsjmR18Q0FBcrSyBQzqZI2QQChWMxsckngcFT/rQngSo8iqSXuzIj4kql4GK+3h05Nz4eJU4fmqzfRTwsb7KU7eagxUuVq6qlbMD/aBAkwCZ1tGpNmEGYts8a9xo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738764770; c=relaxed/simple; bh=z5bMtcdCJr7FriL9JMkNTKmLGoxn59uWfv+7+sQTOO4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eK+T68dPX73jTIpafpt+ecKXB8RsQIjko1uatfsGl7e9AX3zdOoGPVRdNAeefqZGWuntLmptK4KOYKzlkXNgPUizaL59Ermi6f8w8z/+vi7tfuP47UP/f4Oa7qsvkWz2xFJysPwOzSOdhiMKwU16kJxDxe2gj4uQ/yoFfgXtQuo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CfToKZuz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CfToKZuz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF2F4C4CED1; Wed, 5 Feb 2025 14:12:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1738764770; bh=z5bMtcdCJr7FriL9JMkNTKmLGoxn59uWfv+7+sQTOO4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CfToKZuzTF0ZsP4umitZUHMI2UU9J6YjDZDuXmwidUb+8MbBcRBD2YaUJtecHVAyj 3llDm0NjH8nGKY9U2+iJCZLzqR+dR+FFD8Ehj7ThHAopsrj+PrUEaz9cv/qUukd/te GEx3sWrVu5ScEc8mSZ8lkk0Fq2jJJWAZURvwAZQc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Guenter Roeck , Sasha Levin Subject: [PATCH 6.13 112/623] hwmon: (nct6775): Actually make use of the HWMON_NCT6775 symbol namespace Date: Wed, 5 Feb 2025 14:37:34 +0100 Message-ID: <20250205134500.500469963@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250205134456.221272033@linuxfoundation.org> References: <20250205134456.221272033@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Uwe Kleine-König [ Upstream commit 2505f87eb3af55f3dd7f57d7cb7783b94b52a2d9 ] DEFAULT_SYMBOL_NAMESPACE must already be defined when is included. So move the define above the include block. Fixes: c3963bc0a0cf ("hwmon: (nct6775) Split core and platform driver") Signed-off-by: Uwe Kleine-König Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- drivers/hwmon/nct6775-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/nct6775-core.c b/drivers/hwmon/nct6775-core.c index c243b51837d2f..fa3351351825b 100644 --- a/drivers/hwmon/nct6775-core.c +++ b/drivers/hwmon/nct6775-core.c @@ -42,6 +42,9 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#undef DEFAULT_SYMBOL_NAMESPACE +#define DEFAULT_SYMBOL_NAMESPACE "HWMON_NCT6775" + #include #include #include @@ -56,9 +59,6 @@ #include "lm75.h" #include "nct6775.h" -#undef DEFAULT_SYMBOL_NAMESPACE -#define DEFAULT_SYMBOL_NAMESPACE "HWMON_NCT6775" - #define USE_ALTERNATE /* used to set data->name = nct6775_device_names[data->sio_kind] */ -- 2.39.5