From patchwork Wed Aug 29 07:57:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145398 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp379809ljw; Wed, 29 Aug 2018 00:57:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZTBbEAHp6FEIS1QlVGox12BR1jk/iI0t/TuXSLNvCGTo+SP+8Ya0QIcE/hNlCKvql9zufA X-Received: by 2002:a63:ea49:: with SMTP id l9-v6mr4629725pgk.427.1535529471182; Wed, 29 Aug 2018 00:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535529471; cv=none; d=google.com; s=arc-20160816; b=WmXAdlYoflFwo6uXfpFVeHsguCVCdvbkY+d1LdQK3O+KqvZs5EpDTTPjr8VqLTeeUi elhNY7SJF5uSW38PyWrNbXsfanuyFCV+lQ4vtcnoBDJ65oms/EriO431umO+bnYg9YJd DbaVnDGRxMCrM4iOVGV07rejJaPhlVwUn62uu2Atj21YIF+gVExM265TOBJpL1gHE8IC hlkvV4KOzSFN+R6GSgqWKuzncUz/okIr6U1E4lU12hOfIALzgiBzKo/sugnjcc3J7mZr jWtrLzzQFD81dn8lQ7EUmq0GoceGfMS7U0bGetQXx7RbDiudBNE6XpduWc+0B99SxLG3 wuuA== 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=b9O5zBi3rsWLf0pLBaEQrEtgJgzHhKIgudcOWwNyhfsKQuZ7tlwVsBNEu1L2XC4EHg jkwo5L3rRxXIIJBN3Q4uq2LA1FYdQkt2FfNg6Hue5+WlZaoeKs8eMam7K00n8j0wa7Z9 M1CLm/wvOe+131kMk/5wysniUMUjzfedYclbdQQbwgkSxWe9cLF4nKG/jg97DeqHDB0C uqW8sXyAzzXXrUNpjBXDDR5Ghi/jBbMA0CABWWf7L5bOEAnfweVGeU+GKal49TMwubnv ZqPqucnIEb2QqRVBi1lU/azgQkksEustGA1VBaBQ/sBJcttGktsW8v09ASLvc/K70D6x qtvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="kg/F2SZM"; 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=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 x1-v6si3308840plb.135.2018.08.29.00.57.50; Wed, 29 Aug 2018 00:57:51 -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=pass header.i=@linaro.org header.s=google header.b="kg/F2SZM"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727962AbeH2Lx0 (ORCPT + 13 others); Wed, 29 Aug 2018 07:53:26 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:40778 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727286AbeH2LxZ (ORCPT ); Wed, 29 Aug 2018 07:53:25 -0400 Received: by mail-lf1-f66.google.com with SMTP id x26-v6so3520195lfi.7 for ; Wed, 29 Aug 2018 00:57: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=kg/F2SZML7WBuqEBtFfwjdEToBm5pPLV9BztrAqylqmdk3608H21CbMLwoQecSARRo 3g9Ru/ZUloD71YYuEuRhftTZN+/h8RBxWmYpgHqhZEfFkMkwUPrA2BbmfkkTTY8nKvtS 9vFEHLKzSKFtI8XRgSWvs94KKe4zgxGHZe4Mg= 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=kH0vZ6BeZPfC3+KSeZh8FJZ8M6eiHzcJlfqCC4UibcFMu6vmZC500BadPNvvQ47BGW A0OvnvBtCJLey3kAm2QkSU/YMxtImhzKVF4uEsn5Gi+EMdiC3x/enV45w4ubBotT7b5J hLLw7CelE3pATafxtIW56fO3NA+r00KSs0knAFCbaPXJrs4fb6IGpgiLJ9RjzHur6Mtj ZKaJ4FO9B+Pufmk+JVYZyjcObxliPWTNkHi4ngW8Z38Z26kH46JPOQ0MbCQRGEbfCQPu 2j7Xu537vL93gsCMNu7oEaYKc0EEk4AsD/HXz+Y1jBXWrDYpEbKc933WYT0Eoi6n1MFN 7fXw== X-Gm-Message-State: APzg51A41uUQA7wWJsNo61uZu7CewzzTmQlXhiVg48kY42KY/QwkQ5cb yD6hBZ12YhiQKnWY0mxhqixmFQ== X-Received: by 2002:a19:6d12:: with SMTP id i18-v6mr3370552lfc.72.1535529467079; Wed, 29 Aug 2018 00:57:47 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id f7-v6sm613386lfc.4.2018.08.29.00.57.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 00:57: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 v6 4/9] soc: qcom: smsm: Add select IRQ_DOMAIN Date: Wed, 29 Aug 2018 09:57:18 +0200 Message-Id: <20180829075724.9095-5-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829075724.9095-1-niklas.cassel@linaro.org> References: <20180829075724.9095-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 Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- 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.