Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4898728imm; Tue, 26 Jun 2018 02:25:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfqiLjqikVgbNrO0M497Z+/9taz9WCpK1W94gfNFWod2I6EdOJMLCDGbWfuOSP6d+oA2SE2 X-Received: by 2002:aa7:82d9:: with SMTP id f25-v6mr748359pfn.218.1530005145328; Tue, 26 Jun 2018 02:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005145; cv=none; d=google.com; s=arc-20160816; b=dnvdpgb/fuSce8qM4itQIEEVIcMvQbnS5eC9zySyfgdotofFG8ENgH+4LaOMFQLkNE //JytSXnQM3oWhrYo1BAnfVDojUNeI6QwdSao6cNXdBU43GYZwCLWD0p7exBWa+G8LEB H1w9pzyFxWpH1iTqMmOYZam7u7UXcxZOA1F4lBpIq0DkuNegBm0rZ4HI0vBCTXXhVw64 cLBve1pAm2fWyX/xUQgOBn1GgM6fOBr9sDzAAz+wXEAl1l83xfiXpc3Cu/yOXbj03w2e 4aB5IBz4j1O4xtEXeab1Ief0uGkNEsav8+GfiJbQ9szbVgzsTy49FFQ7YVUXzlTvbB0K W3xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=IdXa8XV5jspUkJyntVmzVAz5Mc3ePJihh8ETQaG1HXM=; b=0wkpReTcb4bT9ljFR540KutX681lLz6f8pVfAxvE8zgl2tX1haOpyncnH4A8gjS4QI mba3gY8PmqqrjF5en5RcKTOtWolFhW3og546jkgDr074nKN6bVtFBZYObMGV3EyFLJPq dp7o5gC+HcaS+HvzYN0XWhpY1573hK4UD6ZpcuQlVCHAWM2BeLKmX+FAgDywHqXMK4zp fwP7kkXWeDqs4bNDuRa2CMnS9xPlWGKe6ajm6r8Omv7aPG30vd95oLaY/aB1GzbOnqza BT8w9RNO/7ojrkMCQdGgEXXDH7iESxT/IwDXai0LNmF7XD/F3dEmLbiPoe7ao4A7RG0u 5DiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ePWo9yuV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10-v6si1148794pgc.489.2018.06.26.02.25.31; Tue, 26 Jun 2018 02:25:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ePWo9yuV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934113AbeFZJX5 (ORCPT + 99 others); Tue, 26 Jun 2018 05:23:57 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:54834 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933810AbeFZJWe (ORCPT ); Tue, 26 Jun 2018 05:22:34 -0400 Received: by mail-wm0-f65.google.com with SMTP id i139-v6so1022722wmf.4 for ; Tue, 26 Jun 2018 02:22:33 -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; bh=IdXa8XV5jspUkJyntVmzVAz5Mc3ePJihh8ETQaG1HXM=; b=ePWo9yuVO/2z1B/h+W3Er1GYoaNz996t3L70NG7cvpoOr9gUnDnpyHFVrg592zarqL tr3NZoT90g+YJpKeVg/VCIyZ5jqw9PaDPZXwFnjepjhZHNpWDlsw/LMhvLOgZFlN9GBb 0DXSEUm3X2S7LkAFVRvRSSP5aVvddW4J2s8uM= 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:in-reply-to :references; bh=IdXa8XV5jspUkJyntVmzVAz5Mc3ePJihh8ETQaG1HXM=; b=GNM98rHYS3aLx71WRljA5t8suSfX+qDStX4zZHy2zyUYJL784DY5cPqh1i7Xj5jpf3 QukJxhNiLfuM60ZRVnMHw6DoDt7np6HMZ+M77f4C4XuGGO3SAZiBPA6Qc8VyzijyCoC+ UKPQZM/vMsprX+dSoY6WOmubNKXtW+ZmenUGo9R/N7ZQ+4KiBTO4m+FLrYINcqwNqqu+ jF7j6eKFKQ1PCLTtLly5erns0eGDIOmHx5ozWU35Kp+wLuWJrCkSLoiQfZ0lq3MSGgxz 2+TVo1jJRnIv9NBSDkO/fjXNtnhpsKCwYbYatm/9Ttcokx3XSYt8c9oKUsVHdiYJT4Lh cQNw== X-Gm-Message-State: APt69E3102IP4BqwwPEUav8p14/Chf2R1EDd7av+evrR1IdF6xXMefzJ 8CwmeaEuFAzPpb7AcXxCMrkNbg== X-Received: by 2002:a1c:c7c3:: with SMTP id x186-v6mr976651wmf.39.1530004953283; Tue, 26 Jun 2018 02:22:33 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id x5-v6sm1438456wrr.3.2018.06.26.02.22.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jun 2018 02:22:32 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, robh+dt@kernel.org, alsa-devel@alsa-project.org Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, lgirdwood@gmail.com, bgoswami@codeaurora.org, tiwai@suse.com, perex@perex.cz, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org, Srinivas Kandagatla Subject: [PATCH v2 09/12] ASoC: qdsp6: q6routing: support dt based module loading Date: Tue, 26 Jun 2018 10:20:13 +0100 Message-Id: <20180626092016.9296-10-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch uses new compatible string to make DT based module loading work. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/qcom/qdsp6/q6routing.c b/sound/soc/qcom/qdsp6/q6routing.c index 593f66b8622f..ab696bf8d1d3 100644 --- a/sound/soc/qcom/qdsp6/q6routing.c +++ b/sound/soc/qcom/qdsp6/q6routing.c @@ -993,9 +993,16 @@ static int q6pcm_routing_remove(struct platform_device *pdev) return 0; } +static const struct of_device_id q6pcm_routing_device_id[] = { + { .compatible = "qcom,q6adm-routing" }, + {}, +}; +MODULE_DEVICE_TABLE(of, q6pcm_routing_device_id); + static struct platform_driver q6pcm_routing_platform_driver = { .driver = { .name = "q6routing", + .of_match_table = of_match_ptr(q6pcm_routing_device_id), }, .probe = q6pcm_routing_probe, .remove = q6pcm_routing_remove, -- 2.16.2