Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5800301imm; Mon, 27 Aug 2018 04:39:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbawnkuJV13FbuzPSSjbxGQVU30pZ1cg0Ntcuir6txWgKbh9y7weOOtnD8Z8hZfyvndJjZV X-Received: by 2002:a63:d518:: with SMTP id c24-v6mr11517844pgg.357.1535369989281; Mon, 27 Aug 2018 04:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369989; cv=none; d=google.com; s=arc-20160816; b=ZC+tKWbf4k+UEVHPi5OzxgUfARCaU/KPiXnsSE0THdAkvV0Eb4Y+aS7tC0/gtqEcls rWcNlDmtnEHzrS34cp7ArgAvDdPCUBYiBWA2LqJTX5UDW8MGpjymVX31bjEb5Q/iXq0/ r7mAJeORLr/NDPwDQ8kyU2de0W6okLy3TPppyiHX7hY4AEBtldEFQo0mGppHIdHpbLs9 esE26ml1YG9dyD40Qj5cG4RNGeGvF7GF6KbZ/y0c6RxEGexdgT1bZmfpj8G+uxDa1hEG FLapS3+1BLOSIYrTgNPEAmGjX7jgS2YPQaQid2qW5LdgRvc1w7KzBfSXClv0+lmyK0NM opEg== 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=IW7gPFbp3Cs/xxYQ78q60NQhn2rxDLB3vVZCg9hJpfg=; b=0UVlXmvJkY5KGv8tmNQIuAHSfhA3P4I2/tApodvD8uyfy7ZhycteLXrdDjOy0hcATk RMpTQrjFvuyzMcNlEtxAi5KVrxJTFtKjTYFcymqfigOFIA5uDd7CdN+GzqqjL6cvV0xe h4/mGVBDYbBstcxIuVgXgcxKJRakE10iXIQooiH89EN6NyQptLFx4gwYJcaP9KdqXwdY r5g7POChcmhpSOaaTgBFgglyfnbBFdIEvILw03hVj188vammrY7bADbno9CtGEGjZfhp x0II9O/yo8eibOeI2E5AQFcOop7m9eFzu+hwDO9dF8IZrT268xKvabrjJ/YkKo6vCt6l F5WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="apoOolr/"; 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 r14-v6si14660788pfa.44.2018.08.27.04.39.34; Mon, 27 Aug 2018 04:39:49 -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="apoOolr/"; 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 S1727488AbeH0PXH (ORCPT + 99 others); Mon, 27 Aug 2018 11:23:07 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38569 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbeH0PXG (ORCPT ); Mon, 27 Aug 2018 11:23:06 -0400 Received: by mail-lj1-f195.google.com with SMTP id p6-v6so12078097ljc.5 for ; Mon, 27 Aug 2018 04:36:47 -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=IW7gPFbp3Cs/xxYQ78q60NQhn2rxDLB3vVZCg9hJpfg=; b=apoOolr/9TM7NmQflaNp3bpWWKcSz745g2+GqW34BVmSqNSCSIys0ljgLb+jeLP5KW lh7tK1UEniAdObHGYzt9H+FDNSMdp/syrGYrCijDLyxX9THu0g8CKK5WCsxqQWLJNqrj 44pZH3fqNQ/V5/MnWtSoa6IH/Vq3FGHLVK3wk= 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=IW7gPFbp3Cs/xxYQ78q60NQhn2rxDLB3vVZCg9hJpfg=; b=PJJBprkl8wJ0LD+U0bwWstXhc7Ua+ZyzrIDxaqSZFXkpeUmfxVX/Cp7YkDIviEhm0D bwTd3dp25DpgnZ73USaP3PlvFyHK5yERn/jnJYdKRehcoSdU7g6E772GqwHKttoXh+br gIsc1lEIGEQma4B9DTsalpnFOoC6pdO//ZFWfuSppH8M/m/dy/7h4YOZzEQDcb6Ss14h hdSHsK0vtMLBduM1ZbX0vTps4sJaQ8Y2BXh7urE9G0vvSKRNPwR27al32jFbcvQdRFMI lnuT3DsGrt48LV4qZKKF+07XoG0E4eHhJDc6sab3VNK2ZxO/heKsgxLLclIp07zObQZm ayDg== X-Gm-Message-State: APzg51DD780KRpzFgzEhtqXey/VGjdg5g13gqClnPI0JXRKSdwvAS+i4 rysYOl+kdxjdqERctN42rxGQEw== X-Received: by 2002:a2e:5b4a:: with SMTP id p71-v6mr8069666ljb.91.1535369807019; Mon, 27 Aug 2018 04:36:47 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id j10-v6sm2724498ljb.33.2018.08.27.04.36.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:46 -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 v5 4/6] soc: qcom: smsm: Add select IRQ_DOMAIN Date: Mon, 27 Aug 2018 13:36:02 +0200 Message-Id: <20180827113605.9594-5-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-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 Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- 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