From patchwork Wed Sep 16 18:15:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 11780381 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2990592C for ; Wed, 16 Sep 2020 18:17:28 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D6AAF21D43 for ; Wed, 16 Sep 2020 18:17:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="IOk9EsFe"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="RracI24P" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D6AAF21D43 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DF93B82E; Wed, 16 Sep 2020 20:16:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DF93B82E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1600280243; bh=5gJuwir14QZsGlfkRF27Z35Mq1yCjapg43GV4Elxzho=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=IOk9EsFeFO2wx+gxwvEcGA8kn7po1IrN75synGSfRazs8lgz6RaH2d7BAbmkZpnSW WIilxrr+4jZu/Tj/Y7Zv4A2iYzYh9jd86t7KK4JswEeOsQF3i4WxpxY8JZeNcJ7TkG 6by/SfdsqR0QApDgTA3jFKYEJr1/5wm8ONSmTUbI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 5D2C5F800F1; Wed, 16 Sep 2020 20:16:38 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9D652F8015A; Wed, 16 Sep 2020 20:16:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,PRX_BODY_30,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C60BAF800F1 for ; Wed, 16 Sep 2020 20:16:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C60BAF800F1 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="RracI24P" Received: by mail-pj1-x1042.google.com with SMTP id md22so1763945pjb.0 for ; Wed, 16 Sep 2020 11:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UiFIrPp4DQBnGtCxEmkSHjKyh1WtbAV+s1rsFBSqEIw=; b=RracI24PIbtqBZhGuaJPp3NPwyCDdn8AOd8rWRUPflnPHVdvry0MfFf+SKCCAu0xx2 YAyqDtA/SxT67abUlFtL1i/GKuW1jLkErjQMQnuxtj72vPwz9IVeY1Hgom5wvFRoPpr3 0wgMBHSnamI8JtH96vryAz1bVUm2LvoWFr+eI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UiFIrPp4DQBnGtCxEmkSHjKyh1WtbAV+s1rsFBSqEIw=; b=pVMr5TGbdUlKpBtpWu8Y/40gFNcTcUPXFUFvHlF67aGLG624vmtyFrEAz2DZH0olQG OyxtciVb8mGB5aeTZPZ1Q2KksfJBnBUljzKEmCsZ0gZgG/tIjYIdxjmwcF1/8bKypsj2 KAHpNbooZ0us5hEjkmEa8B7c8+qipi47SPPyvgLSWpkU7CQns+0T+Eeq/4vzZioP2rm8 j/1ycXlaZFHJdZFmajh2/cApLlbSWQNbr2W4//M/mra5oVGCKkhIPsrqtDxYti5h8I8u AAr2tqXSrQxY2pc6kloq9NLEmF9XIVC1eSIL5okKfR7dJd51uwHbvy+AxZqPGge4+Egk MJ8w== X-Gm-Message-State: AOAM531jgShXdqBoYCet+dQ8cPNMN3rk4LCeAM/dJITXPbeyFSz7gsDa xL2SaMgACCeYYUiWNyzu5U5d2g== X-Google-Smtp-Source: ABdhPJxDCMtCerajjQla9DC9/rtMsEm7NoHMyC9ADXn3GWrc7JbhH40Mtb54++bGZ9palI5JY5xuIw== X-Received: by 2002:a17:902:9697:b029:d1:e598:4001 with SMTP id n23-20020a1709029697b02900d1e5984001mr7574830plp.59.1600280182843; Wed, 16 Sep 2020 11:16:22 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:42b0:34ff:fe3d:58e6]) by smtp.gmail.com with ESMTPSA id e207sm19091618pfh.171.2020.09.16.11.16.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 11:16:22 -0700 (PDT) From: Douglas Anderson To: Mark Brown Subject: [PATCH] ASoC: qcom: lpass-sc7180: Add MODULE_DEVICE_TABLE Date: Wed, 16 Sep 2020 11:15:55 -0700 Message-Id: <20200916111545.1.I4c3758817d94c433bafeac344a395e21ea6657e3@changeid> X-Mailer: git-send-email 2.28.0.618.gf4bc123cb7-goog MIME-Version: 1.0 Cc: Douglas Anderson , alsa-devel@alsa-project.org, Banajit Goswami , Liam Girdwood , linux-kernel@vger.kernel.org, Patrick Lai , Takashi Iwai , Ajit Pandey , Rohit kumar , Srinivas Kandagatla , cychiang@chromium.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The lpass-sc7180 driver can be built as a module but is lacking a MODULE_DEVICE_TABLE. This means it won't auto-load. Fix this oversight. Fixes: 24caf8d9eb10 ("ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio") Signed-off-by: Douglas Anderson --- sound/soc/qcom/lpass-sc7180.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/lpass-sc7180.c b/sound/soc/qcom/lpass-sc7180.c index 167bf2cbc556..a8a3d8f8f567 100644 --- a/sound/soc/qcom/lpass-sc7180.c +++ b/sound/soc/qcom/lpass-sc7180.c @@ -200,6 +200,7 @@ static const struct of_device_id sc7180_lpass_cpu_device_id[] = { {.compatible = "qcom,sc7180-lpass-cpu", .data = &sc7180_data}, {} }; +MODULE_DEVICE_TABLE(of, sc7180_lpass_cpu_device_id); static struct platform_driver sc7180_lpass_cpu_platform_driver = { .driver = {