From patchwork Tue Jul 3 07:20:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 140908 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp830599ljj; Tue, 3 Jul 2018 00:21:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdBoJPa8E054crYbcBMfroJtJ8/aoIwm6k90fV6en85aS6+MPSLXLNCWC5P3ryI1UfzVd15 X-Received: by 2002:a65:5d88:: with SMTP id f8-v6mr19071801pgt.25.1530602480180; Tue, 03 Jul 2018 00:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530602480; cv=none; d=google.com; s=arc-20160816; b=ISrE36o8PD5sSJzr6/SP2JLBz7Vg0EDYjj1MuLbOFzRyJTkTO7KVIAER23F/xeplZ9 r70PEbP+pAKdXMaSQjBksqV5ug7TdLqKo7WRUArcr/5nmlDvxnfm4o2nKX+i49J1DGDk io4QhbTZeuW5sv0mirT263afDZVdayIEaDDsdyF8SUH3cve1iqPtlv79DW6h0MFtE0s4 xH8gZwDFeAMMJEapjkppjb8DYh0JwoI9Fa4FqSi+Lq4/+Ochc9uzPUqddNZJL/E1DGX2 HZyz0g1URPnAHGShYboO6M1uqv8KJG11p3o8AYMa02iJ7shOY4+T8TxT1auiiv7tD1tD MNyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=gWq0xhxWxV67no4JMINhmTpVxhvm5IS0AvGZLSvWwr4=; b=kczuXm+XFHAPEXhujOVhJPJKv3RSvK9kpoMSELxnaE0fV0f09WUpIv1bfmqO+yaKyK x0zOYe5shf0yNA/8RbeyKOncKmLQovTu2eH6hDRjAVgg9KocsluY7xWlpgtAalZMMjUA LEKMW5D1fwGgvhBM42lZlt94sEP+kMbc2pu0EBCIKJP5z4WR3JnNI5rBESvRT/yrGH0Q 3p9Wr5lRZRtU9cdwh5182H9fisSsqDa/3M6X10OTf3aB3/30EyJP1fJ/fkdd9CLaiReb sqm1JIT5EaH5T2EYgrPiFcmV4Rb9q3ZFBEIBuQSOmY2n5zq3xsKhgtIQz8pYuUug2Jts Y/3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hLMUWO2h; 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 e5-v6si438694pgs.449.2018.07.03.00.21.19; Tue, 03 Jul 2018 00:21:20 -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=hLMUWO2h; 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 S933214AbeGCHVS (ORCPT + 31 others); Tue, 3 Jul 2018 03:21:18 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:41306 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932802AbeGCHVJ (ORCPT ); Tue, 3 Jul 2018 03:21:09 -0400 Received: by mail-lj1-f196.google.com with SMTP id a17-v6so696158ljd.8 for ; Tue, 03 Jul 2018 00:21:09 -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=gWq0xhxWxV67no4JMINhmTpVxhvm5IS0AvGZLSvWwr4=; b=hLMUWO2hi1IVoqQ0tSEckaDJRp6BTrseujsGM60HdD+bMcgSD+9Ef9l34HFs1fYJ9o CHIE4L/m5m9pWL3ybPjaXQvpQEOQEZCoFoynZtYwVS/uc4ctq5KgRiMi0mXUmYZRTZdK ACuuSBDzd3o7MZfH7l9r+XIR6YjnqIGxp2Jf8= 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:mime-version:content-transfer-encoding; bh=gWq0xhxWxV67no4JMINhmTpVxhvm5IS0AvGZLSvWwr4=; b=qo8R63bigQ20IdE3HLoAlQyiED0ph7ycig4pulaabzlumKoNqvkWn+oJDe07Rb6qNu plLofIa2DElYQSVkF56mx7uQqIT1nNYpNIcxhKQLygyQCadS7xcPD3qw/ekxzYyd+sTX oMUfaqtfYu1lbUGDGWzPBGE0Ang2X8LjOM0bQzwQl0BzxIYO9P8pgZQjEMV9jlBx/Y5I MBqlNWOfGgeM1RTHWw4O8bcZ/rk5Qa3vYXMXRtgvhOALO1cB54q/O39bY+yI3DF1fYqe tvzpBO/M4ZLgzqjQVnxXFnTmS7CoZOvVz1q1UIoEA1orw7uAKTBwBw+M12cZEOf4j8Kw pq2g== X-Gm-Message-State: APt69E0CFliv4MDhx2NV0PDijvceMu4uafFqmlh08oJe47aOmI8nPFEo RTmvoUjodhtVFd43oRRDSjBDvw== X-Received: by 2002:a2e:8950:: with SMTP id b16-v6mr10891848ljk.111.1530602468679; Tue, 03 Jul 2018 00:21:08 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id k10-v6sm70519ljh.5.2018.07.03.00.21.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 00:21:08 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/6] soc: qcom: smsm: Add select IRQ_DOMAIN Date: Tue, 3 Jul 2018 09:20:31 +0200 Message-Id: <20180703072034.20213-5-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180703072034.20213-1-niklas.cassel@linaro.org> References: <20180703072034.20213-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since we are using irq_domain_add_linear(), add a select on IRQ_DOMAIN. This is needed in order to be able to remove the depends on ARCH_QCOM. drivers/soc/qcom/smsm.c: In function ‘smsm_inbound_entry’: drivers/soc/qcom/smsm.c:411:18: error: implicit declaration of function ‘irq_domain_add_linear’ entry->domain = irq_domain_add_linear(node, 32, &smsm_irq_ops, entry); ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Niklas Cassel --- drivers/soc/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 6e063202ad0b..7da6e67c7ea1 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -143,6 +143,7 @@ config QCOM_SMSM tristate "Qualcomm Shared Memory State Machine" depends on QCOM_SMEM select QCOM_SMEM_STATE + select IRQ_DOMAIN help Say yes here to support the Qualcomm Shared Memory State Machine. The state machine is represented by bits in shared memory.