From patchwork Thu Jun 14 11:11:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 138559 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1969584lji; Thu, 14 Jun 2018 04:12:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLyzJnDhesglFi37C2odl340Gb9XZ19Zlubvisuecq9/3JoSw06M+5GsvDmVSo0ks8mWN0G X-Received: by 2002:a17:902:bb0d:: with SMTP id l13-v6mr2536320pls.115.1528974772596; Thu, 14 Jun 2018 04:12:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528974772; cv=none; d=google.com; s=arc-20160816; b=QjLrnAh3Tn1GNHppByAmFznp5n9/s976mpMClNnm9itIB7bQukteX1G0vh0wgK6BV2 jo52TXGzEegPnwVoHJD7TsKWHqpmhNsXx0+vaJKJuYvgNQoECgzbLis6Inlc7W8gQiH4 SFD/C9hl54pX8S5k119SNy/C3tyht8zE7tIzWnUdzUOKIvDH58hOzc62IXNOqNRi7YFa 8j4U9g4MefqWlUNDL4LpHp2WkpOeNU8i0EwSryCAPHSLnIVlK07ISeeChzc1F96ijyVv SnouAIX+CpL8XVsADN0C1SuAJ979afDS1RHVHKWIDGMgejh0qmBz6EThgZi35kz6voQz 0oJw== 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=kK75iCjZmXhNW3f8e8b5isF1NgUtUcAcPPe/FiWP40A=; b=QIEf153JgwvLIOIX6mgtfV/EnNiu1pPym1duBmq1m2H30iguK5ENXF10WUWjPgheEI +SXFGYpBU5RVdR0rCXHjMTiRAHkmsjKgdVS48c/T3NO6JlVdMOOiYV47R8o8oGTH9Zy7 sZH8GHK3XE7Z7sAxjCgAps1lxhyqsyS/6f7GDVaLcHIicKQZUw4V2wYfxJQ5PAmkCiwY 4hUCi8/UnZQmVKJgWiRQ1qErbSe0MB7dR/ggwDgTFNZifiDhVHPRMtz6ptvCUngXAlkk 10vwY4y+Dwbk94BIntijtFTpS1FYzFLjw5Ga+AodopMlgfWVg4oNd/0kmCrDA9i58B6l kPsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dxBQ3F8r; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (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 j7-v6si4240456pgp.85.2018.06.14.04.12.52; Thu, 14 Jun 2018 04:12:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dxBQ3F8r; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964820AbeFNLMu (ORCPT + 13 others); Thu, 14 Jun 2018 07:12:50 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34472 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754989AbeFNLMq (ORCPT ); Thu, 14 Jun 2018 07:12:46 -0400 Received: by mail-lf0-f68.google.com with SMTP id o9-v6so8803730lfk.1 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=OyNlmACJiA0mKg+vkzu4U4lLl4/6fQWhi6a57m1xzOQtlOxszpoo+Pt3B0420sB7ZM godWZjp7tSWV+NhhiguUSh1bpdqZCEKBOzjvFDtcHeK8hlhdKfGTIGlX+DFsfUavEnDx etsmyJ1bwvFM4qxx08gIrJYOhpJd0D4CMMtCVi6Me0yiJCc/mYgKkTGiTHLj7sojYjgJ MFvJjWqSg0nudcUMpI5dC+HP3ZZdgbzq719wioq786hJFURongO4mIV35MI+pG9fPF2y tNMOH8JVfyh//h17Buq6TI405C2t//hVvBDxMl3IAd/GnlCum1ZGbj+fudIBE072LeoU PVrw== X-Gm-Message-State: APt69E3i4adFFApN+H7sZW1AWUfxlonE5t5ra2UQkJMgK3j75PHcM0nd mL1bs2g8KuPhaPBfWBwl/favPQ== 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 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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.