From patchwork Fri Apr 8 21:33:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 559684 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 319C2C433F5 for ; Fri, 8 Apr 2022 21:31:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230223AbiDHVdZ (ORCPT ); Fri, 8 Apr 2022 17:33:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239860AbiDHVdX (ORCPT ); Fri, 8 Apr 2022 17:33:23 -0400 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C2A1DC9 for ; Fri, 8 Apr 2022 14:31:19 -0700 (PDT) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-de48295467so11081150fac.2 for ; Fri, 08 Apr 2022 14:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wAjxJ00rzVd7933xOrVtD/yYO0OUizXN18WkzZFM9PI=; b=bqBQGqZWhIP3WbdI8SHEDWomaWcxao9qHr8rCwd7K80SXl4n0POtJLGVK7w1E4pxqm 6R7l/tcs/67ZhhDnH4mg6O6bi++sTJIqMYwmQtoYvwjBJ7rhOO7glW9w4IYJkcbrYbcr ukwoAr38jsqOcTCWQLe4bioFyR+e3araP0RIfH+wCVdMRnvzKTcnHm7xX0NvnOIQ00cK 5F3hZ4GqDrFiwsEbMzA/Yp045zQPmi9jTF5cJ2mPIJv6IJwx4XzKjj5UWYCM0IM85/+J sBTJ3+Yp57FR+wc0lAVvgTy/pc7nf42b5fb7DniVvuxtDQA1FwlPgusbih8NGJUfNhw9 HDJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wAjxJ00rzVd7933xOrVtD/yYO0OUizXN18WkzZFM9PI=; b=grx+td1Dwz8ine85+2Xe6B8KYm7mt1pZLB1+0r2/RJBX9Gv15nF57SPxQ1+NFdYP8s R/bOF3/A4lffKLy9Jld5/GgnBEqsEudPfHdibehRItMJSjoucDIIMFlRba3UqNtOKH5a y4BdAkjtsowwgJmznh2jzWq+nlHktCdeaToVJ9IUBYgt9MqMb7iQeY9jR7+gllL/OJFA EzuYFOvWWSpjxQaObf1YNvYOAstaDnAhTYkaq6x56WQZDnt8Xw8Rn/C/iTYn+X1P2xQD YujTzXEpyXfu9qe1h5imF3Q86kixGYKoaezJeJRYQGo2gSXjJLv2rUZMamXS++92HNSX 9hQQ== X-Gm-Message-State: AOAM533EW7JauS2yh6kDPTH/oEryEAnVUknZxUsKMZsxyYenyyX5gi/Z povjXj9JjXW4Ss1f4mJkxHksTA== X-Google-Smtp-Source: ABdhPJx03+oZ7ijUH3UF+Brex0fuUtkrjtUO/nfpOmQ23cV2t8IJnSNHez/UYG0TZeVdPP0rUNG+gg== X-Received: by 2002:a05:6870:910a:b0:e1:ee2c:8528 with SMTP id o10-20020a056870910a00b000e1ee2c8528mr9131080oae.134.1649453478588; Fri, 08 Apr 2022 14:31:18 -0700 (PDT) Received: from ripper.. ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id m126-20020aca3f84000000b002ef895f4bf8sm8983536oia.24.2022.04.08.14.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 14:31:18 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Luca Weiss , Sai Prakash Ranjan Cc: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 3/3] soc: qcom: llcc: Add MODULE_DEVICE_TABLE() Date: Fri, 8 Apr 2022 14:33:36 -0700 Message-Id: <20220408213336.581661-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220408213336.581661-1-bjorn.andersson@linaro.org> References: <20220408213336.581661-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The llcc-qcom driver can be compiled as a module, but lacks MODULE_DEVICE_TABLE() and will therefore not be loaded automatically. Fix this. Fixes: a3134fb09e0b ("drivers: soc: Add LLCC driver") Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/llcc-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c index a76d58195637..918bfd0df0e2 100644 --- a/drivers/soc/qcom/llcc-qcom.c +++ b/drivers/soc/qcom/llcc-qcom.c @@ -809,6 +809,7 @@ static const struct of_device_id qcom_llcc_of_match[] = { { .compatible = "qcom,sm8450-llcc", .data = &sm8450_cfg }, { } }; +MODULE_DEVICE_TABLE(of, qcom_llcc_of_match); static struct platform_driver qcom_llcc_driver = { .driver = {