Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8135BC61DA4 for ; Fri, 27 Jan 2023 10:41:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232268AbjA0KlG (ORCPT ); Fri, 27 Jan 2023 05:41:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232157AbjA0Kkl (ORCPT ); Fri, 27 Jan 2023 05:40:41 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAC5FA5C4 for ; Fri, 27 Jan 2023 02:40:36 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id d4-20020a05600c3ac400b003db1de2aef0so3131454wms.2 for ; Fri, 27 Jan 2023 02:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LVFyvvqIkRzvUovTQs0s3jDn0ZcULXdzwuQvtfzyO/k=; b=oV9mSWhHUtgHqeSuyXNG423VqtkTvJp3igDAMP/EKKcM5gDvnZBRMdKQPXFVQK5fFr mLXZy9MWM2/ZsjrwwPm5n4pIFW84n4wwWhSUOn9YEHl48gj/uWUk4RrPZUuqwKuB9Yuj zYqcHPjywp5988sJllSQG7L3aP5BOJH73I/X3U+vG0ba+JqH10Yj+2xPCuPnICZHfTbO Vj4FuO/+L14vJwQ4pH2jen7f37oqFfshizKVGVX87V0Qq46hlgNzkhiln4vRk5s+c2kf f/M0b8mZ6qiMk+iIEh4nNKlznmM5G/jfqsD83O/XLrDZ5CbYy864dW+Q6LyVl1q8Gmrp iWug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LVFyvvqIkRzvUovTQs0s3jDn0ZcULXdzwuQvtfzyO/k=; b=LiuGY1VWGrhm8TnrplFcbIIdQYjHurAD4lsWsFhApBQmja3cW4cGWxxMD/X/Rx8eC0 Jkg20M3tCtmenvcS22+SYN82+eJ8YHg5/B0yZfu3Xr2Zc2o5p1lU1T63ool3BHDTrtt4 187HDvBh0Of7K6wIKxdnjDWCwSzlS2PNpxRQeKsToXBGbbgpuglJygBWWtOuJNEfXOOk dOymLUltWo6bS4YZoS8t02YovlVnvLOmf9HMkB2Hk+j3MZCT9i8ub9BeUO1HOkEz8hnI UQVbTCMKJUQF+kKlg3Eh+PMGcRD1HT1g91qaMJMErwwW5ufRdPf9HTqwv/gQ/CVRMp17 7jlQ== X-Gm-Message-State: AO0yUKUrI3w1yMhnApLLCyosepqkQpzRSnCgU+XbUEuQ0+BFU/i1DCxR ML4mW3FLjYnWPFlPjJVXOdz5bQ== X-Google-Smtp-Source: AK7set+YisgTnmyv5U9Og2xueykLP97orptchBjRMp7KuTHvyRn2RlHaX9IN+VxJ+k+o7JAEQ+Mg6A== X-Received: by 2002:a05:600c:3ca3:b0:3dc:1687:9ba2 with SMTP id bg35-20020a05600c3ca300b003dc16879ba2mr12981094wmb.35.1674816035343; Fri, 27 Jan 2023 02:40:35 -0800 (PST) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id q9-20020a1ce909000000b003dc34edacf8sm1619787wmc.31.2023.01.27.02.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jan 2023 02:40:34 -0800 (PST) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, Bjorn Andersson , Srinivas Kandagatla Subject: [PATCH 10/10] nvmem: qcom-spmi-sdam: fix module autoloading Date: Fri, 27 Jan 2023 10:40:15 +0000 Message-Id: <20230127104015.23839-11-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230127104015.23839-1-srinivas.kandagatla@linaro.org> References: <20230127104015.23839-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Johan Hovold 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 Signed-off-by: Johan Hovold Reviewed-by: Bjorn Andersson Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/qcom-spmi-sdam.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/qcom-spmi-sdam.c b/drivers/nvmem/qcom-spmi-sdam.c index 4fcb63507ecd..8499892044b7 100644 --- 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_match_table[] = { { .compatible = "qcom,spmi-sdam" }, {}, }; +MODULE_DEVICE_TABLE(of, sdam_match_table); static struct platform_driver sdam_driver = { .driver = { -- 2.25.1