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 98FA21EBFE0; Tue, 15 Oct 2024 12:11:25 +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=1728994285; cv=none; b=iRAdMl9Lc+f6bnTSbieEtuzvaG7ULaPbOooFg0GQAHmu3/DwqxfrVzOqRvjq4Ps8SmVrHZCGQTNtJ+dc7joQ/mh/zpFvM+ZiidgP9uklVJlpAQ9fB0xS/NJwf50MKylhVNhEBqbyBaRpqOc1Dwep4e2JeRZp7XAqknHCIS4/p/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728994285; c=relaxed/simple; bh=I8A49rsDpg0E6jDKsk25GCmLX1qKMFdAoCufV1rfUp0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TpqMkqtopFZIP5iwqpaHcup9FEDZySAh2w1X5hguZ2oKILVmAGbSEyMBSTAdPryA474DmVKdAomKcI1715odsRCG5IxhnJH6fl9LWNbgqss9qaUR9DdU9BW7h5xAZFTDsEz8FkfIZz86Op/66lAsad56pbyJFq6jgB6PjITnKYU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N858v//n; 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="N858v//n" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1DE5DC4CEC6; Tue, 15 Oct 2024 12:11:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728994285; bh=I8A49rsDpg0E6jDKsk25GCmLX1qKMFdAoCufV1rfUp0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N858v//n2efbkzptrPa1kRgKzpshUulpFjzXvpLc4F3w3xhSp8kR9tMyixZO7gu58 Vq8vCie5V2P/gNLOZr4bwa8y1MN3arFczDYZD8SccaG2DJfDtarydMtX8yPwQjuT7A M56MDvHYg0zJ+JVFUoJImTAgWxxSPMdKDSN5aUaw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Eric Tremblay , Javier Carrasco , Guenter Roeck , Sasha Levin Subject: [PATCH 5.15 661/691] hwmon: (tmp513) Add missing dependency on REGMAP_I2C Date: Tue, 15 Oct 2024 13:30:09 +0200 Message-ID: <20241015112506.557928954@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241015112440.309539031@linuxfoundation.org> References: <20241015112440.309539031@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Guenter Roeck [ Upstream commit 193bc02c664999581a1f38c152f379fce91afc0c ] 0-day reports: drivers/hwmon/tmp513.c:162:21: error: variable 'tmp51x_regmap_config' has initializer but incomplete type 162 | static const struct regmap_config tmp51x_regmap_config = { | ^ struct regmap_config is only available if REGMAP is enabled. Add the missing Kconfig dependency to fix the problem. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202410020246.2cTDDx0X-lkp@intel.com/ Fixes: 59dfa75e5d82 ("hwmon: Add driver for Texas Instruments TMP512/513 sensor chips.") Cc: Eric Tremblay Reviewed-by: Javier Carrasco Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- drivers/hwmon/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 17ba1d9ff0751..7bc81da4ee2ef 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1949,6 +1949,7 @@ config SENSORS_TMP421 config SENSORS_TMP513 tristate "Texas Instruments TMP513 and compatibles" depends on I2C + select REGMAP_I2C help If you say yes here you get support for Texas Instruments TMP512, and TMP513 temperature and power supply sensor chips. -- 2.43.0