Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1804275imm; Thu, 14 Jun 2018 04:15:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIV21gmsO58/dIXkdSykStOlVl0mCEbZLf76iIM4De+x7l7amSH+ehqjbUYEIcXJENU5MGc X-Received: by 2002:a17:902:d24:: with SMTP id 33-v6mr2626688plu.22.1528974912655; Thu, 14 Jun 2018 04:15:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528974912; cv=none; d=google.com; s=arc-20160816; b=m0xm38yOKaKKl6Ym/gEc0T7FyeZIX1ZqdCLjuvn/lEKx82aW9obrPHGQThChvxMb3M i7oRI7RUajuHfnw8DhP16q+mLlTYoncPnsbSe7kEtf5eHaV0/7BpHbYPB0LANGHqrUDA /IaY0R7uUnWeasfi/l2z+zq2z86z2YqFSMfU6m6+gz49vsYb1f0kOuxRD9HzE0b9IST6 /J8f24Q9o65N87duYJVEpw+xUgS+UC8053B4PVu9yptWpldAwJOAhRq8CyammJgjP0YN lVHlEKwjf8xxiL18hwF6yTTUbpWzmMI5/OYkrMuqg62nG+tJqC1kfvt4592O4hERVvwD DcLA== 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=M6zw4wLJZVQHCaGthfXT2V4RF0fCTGlqbZ+/633hWcY=; b=Wg8ErPp0kbwCtLfuefSyctBI47yOfJNKTAPU9dWuZGugrWp2krGUzxpwN5YR9mv8rs wG2/OztHll/HTCMbOsUTy1Rf5e4rU/aqm5JbC9uwZ8TgnkH0ofI41jZjlwrFv/uA+Px7 TtwzSpZIEbLJZOjWoErUGSN/+KWCpRH1UfTPg/TlsOLDROxzpBqK8xgzsGVqv8YRyPtV yk/7VV8SvUOaTFnmaK5EV9wSFUZ6YIssJBFIukXoMvX0AZKbGlaq1+1zopm9hr2ecKF0 rd/ZMX9/b45p/nhCgc3jmY6nFB07EL8JMcDrPZgme5ELMgp9wIck6fIjwwEArwYInyeV gzwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dxBQ3F8r; 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 e37-v6si5231742plb.400.2018.06.14.04.14.58; Thu, 14 Jun 2018 04:15:12 -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=dxBQ3F8r; 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 S964837AbeFNLNq (ORCPT + 99 others); Thu, 14 Jun 2018 07:13:46 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:45221 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754948AbeFNLMq (ORCPT ); Thu, 14 Jun 2018 07:12:46 -0400 Received: by mail-lf0-f67.google.com with SMTP id n3-v6so8763833lfe.12 for ; Thu, 14 Jun 2018 04:12:46 -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=M6zw4wLJZVQHCaGthfXT2V4RF0fCTGlqbZ+/633hWcY=; b=dxBQ3F8rGOgvJmtostTUxuBrLckfbm50oyKGmxVqwIxdb296TBd6MAFRuf0unOTzyA vQxXtiocYqqIiciH/LHkF4TahsTciJvrCc5+z2tQdysecHYzGSUTCtzV5GSLIUp6OozW SBgfoNhyhjpDyJoFWpniCbbqUmhQltd1gO1B8= 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=M6zw4wLJZVQHCaGthfXT2V4RF0fCTGlqbZ+/633hWcY=; b=Qkwf2UNj4SSADZZKEHVLNDW+F7JlQpcr3MPTTGcM2WqPzazbm6g3t/PuyO1DL68i3p vlozw8HUcpad/f9MI7pcPEDN2IsGy91aMP+/ffrDV3JTXMryYZ0Ngt9fLudeKzIr3uoi REPoWkG5Diq+WyFXQEpJ89LEaFk96tyKyBUZa4OK5Khi/uMVxN1KGqG5vNf9IdL8fed4 UI7YeCunbBkC0xpe/r37Q/1/Xi2bhgOTPfLvOqgc/o8ij7lQQARu1Vhs+VGNRFxEHA0J 9gjZ8sUcUf0j7shrqQxM4vfquX+EY8AMYtwKi9QRu79wjBvCu+RqgscKSpnDw+1xgStY HdkA== X-Gm-Message-State: APt69E3huycU7M49FkDFTBgpuWV0+kMkXJJzNc7YA5sbvM515cPF4hfv Zqzv1NA7u4o/GA6PzeQWR0dlFw== X-Received: by 2002:a19:de0a:: with SMTP id v10-v6mr5456124lfg.94.1528974765425; Thu, 14 Jun 2018 04:12:45 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id y13-v6sm1030434lfk.37.2018.06.14.04.12.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Jun 2018 04:12:44 -0700 (PDT) From: Niklas Cassel To: andy.gross@linaro.org, David Brown Cc: linux-arm-msm@vger.kernel.org, Niklas Cassel , linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/7] soc: qcom: smsm: Add select IRQ_DOMAIN Date: Thu, 14 Jun 2018 13:11:35 +0200 Message-Id: <20180614111138.8923-5-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614111138.8923-1-niklas.cassel@linaro.org> References: <20180614111138.8923-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 2f59d0a835fd..1d4a9f3ada8c 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -115,6 +115,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