Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp832855imm; Tue, 3 Jul 2018 00:22:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLe/pwhViCKwwYK0NUh2ReJC4R/Ux3PwEO+CXmRN/A0lEItBQsYNyavaOA+JodGHb7YgJo5 X-Received: by 2002:a17:902:b81:: with SMTP id 1-v6mr29314096plr.164.1530602545665; Tue, 03 Jul 2018 00:22:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530602545; cv=none; d=google.com; s=arc-20160816; b=r8tm2E8fG2TqkGWGCyGGZlB7L857qzvwlIWHfuGZ+QVD6nbfua4Pf995ldvzlcATc9 kLT5AkOm96Lsx0rkXWupdDebcWaIdSZlDILwTd/BP3JS/PkSh/S6oHflsaPvLfXDg9NG 5BJJ0lPmXchOAzvIcIS9QXctiHKR/ikK8bMB9MfPwdsNLyVKHnpIUbe3JWsiC5qYEzfK lITh3cAUv2Y9tzpcAAGzWYmcXm9Puwpr5yaL+07IQ+gQ4qne62yHzA/bdMSQI7fEcGUA qhpLmdNsERlNQvZttdPWfelz5k7aNe6fOEvwihtVeQK6TSjbmgg9Ki+aKTmjqgABcMEn XKnQ== 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 j13-v6si450899pgt.442.2018.07.03.00.22.11; Tue, 03 Jul 2018 00:22:25 -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 S933181AbeGCHVR (ORCPT + 99 others); Tue, 3 Jul 2018 03:21:17 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(+) 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. -- 2.17.1