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 A9C418F58 for ; Mon, 13 Feb 2023 15:04:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F335C4339C; Mon, 13 Feb 2023 15:04:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1676300663; bh=cEdrSOKa4mOg4IORvVXfkEdUdYScvNnKVbVKW5AKf20=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TyB8XtNGrI/irTFBHRIomH5U/DAZo1B50lkPfEeX0MC6j4CQA5B0Dx9Wao+Ii7t/V L/f1//ly0gvSaOWGd3cjJdwTjIAR7AMUG7fZI58SBuiqhuqZbjZTYMZYSW4HvdmXYH TzZOHDR4KQ9DU6fRnLAPrcNq/nni6cPllllw8O2Q= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Bjorn Andersson , Johan Hovold , Srinivas Kandagatla Subject: [PATCH 5.10 072/139] nvmem: qcom-spmi-sdam: fix module autoloading Date: Mon, 13 Feb 2023 15:50:17 +0100 Message-Id: <20230213144749.625696738@linuxfoundation.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230213144745.696901179@linuxfoundation.org> References: <20230213144745.696901179@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Johan Hovold commit 1ca7fca349316231bbaa68d16f819a08d683c5a7 upstream. Add the missing module device table so that the driver can be autoloaded when built as a module. Fixes: 40ce9798794f ("nvmem: add QTI SDAM driver") Cc: stable@vger.kernel.org # 5.6 Reviewed-by: Bjorn Andersson Signed-off-by: Johan Hovold Signed-off-by: Srinivas Kandagatla Link: https://lore.kernel.org/r/20230127104015.23839-11-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman --- drivers/nvmem/qcom-spmi-sdam.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/nvmem/qcom-spmi-sdam.c +++ b/drivers/nvmem/qcom-spmi-sdam.c @@ -166,6 +166,7 @@ static const struct of_device_id sdam_ma { .compatible = "qcom,spmi-sdam" }, {}, }; +MODULE_DEVICE_TABLE(of, sdam_match_table); static struct platform_driver sdam_driver = { .driver = {