Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4088615ybg; Fri, 25 Oct 2019 13:09:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3vpKSsrc1GLuDQHtGPlgOARNXTFNL91qCr3RxeSHXL2hwuZ8s2TmDudvlok6VAMu5I9e5 X-Received: by 2002:a50:cd14:: with SMTP id z20mr5920087edi.226.1572034149414; Fri, 25 Oct 2019 13:09:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572034149; cv=none; d=google.com; s=arc-20160816; b=gS0ZiFYllIdtU/ITMArI6VMV2j0Sr/9/UUePgmGRHoiEI9LOEiymrvmqo8GBGXXYJF V0ZXRDkm8mHbVIwi0VAt/HTQtDHjuBqYg4YOq420KP1T+KmZXaGi342qc2jifuPwB73e G/jPOfxdhty5DkLOpAoMCgPQ0wRURsO7Sl+cJMtpzfwo2AHTpXYVqG8AlGF+6DqpMk2e +buRTL8kzTHS6tULFxt1wG1eTq4qC9d99Oj8V70T+yNL8Wy//Pf1dF5KrwW1/oDahbM3 9YOtuppVHmR+Lfa1MtXezwZ7Ypz1SOfRiRoC8kNrfMrTf8TsqigEXl7AUttLQluyHni1 IGKQ== 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; bh=R3SaCctQ33G0LqzlxkoZQqgVXIOLmGcZ9QAc4BskcDk=; b=CDaDDLt/MkjuRIpnyeta4yXD4O7uVWu6HL850QHtZ4DzGrUcHuwc7cdZOdrDAAHkbs XbObOpGsntpT6ScT34cNekYG+jRBCsM7kYfYZn82HxT15OZHfOGbdkHidwJhgHWPN0Rl epaQFbyXHYd6IxBbVZdYlCe3oiVb9XEpH4WeUEVwkwVA5C0g3qNAIyUq3ioeiT1SQBA8 n47dIBi4J3uKzr9OHds2Xk796KSxSFoZqVrhPslYVmGPhtBXiCxQCTCjRsYivagIEw/p +gRXpuhCMaBpLItu83O9TTOe3MgnhiRNeMSY5rvZQ7jsvvQC6jaHTuVlk/HV0FzPHkwk 574Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=J6UXGh2w; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h52si2033521edb.77.2019.10.25.13.08.45; Fri, 25 Oct 2019 13:09:09 -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=@rasmusvillemoes.dk header.s=google header.b=J6UXGh2w; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440378AbfJYMlt (ORCPT + 99 others); Fri, 25 Oct 2019 08:41:49 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:33904 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2504517AbfJYMl0 (ORCPT ); Fri, 25 Oct 2019 08:41:26 -0400 Received: by mail-lj1-f194.google.com with SMTP id 139so2360094ljf.1 for ; Fri, 25 Oct 2019 05:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R3SaCctQ33G0LqzlxkoZQqgVXIOLmGcZ9QAc4BskcDk=; b=J6UXGh2wqwAc/+LZXDTKvF+WwOwD8qwr2FNWm47poYQ8yc8qW2mTPT0FRMZguXjutf c8DuE0S0rSMO8D8ykEDKzSp+ZeTtkwJJx2JS6QDezvAfV+MvPc4M3VUtiDWMtzXvxVFn +oi5/ChWZGObNUyC4Kq+YiDjBVfDbrRcmEavk= 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=R3SaCctQ33G0LqzlxkoZQqgVXIOLmGcZ9QAc4BskcDk=; b=HXm97QEaiVsJukxLyIqmU44FnK5B3kGPZjUzJYZWriTCmslOAgyqOupTRwMJbJChYI P60LkkRbBImyqytJvYOXHzYMJ92p/QJfV2Pxx/y7fZnJ6bK4BobiE/i+6IZFSpnci6dE zuNP6fl3EK4iS5BE/647llzmwQAUQaUWdFXw/CqKWoTZJ5Sr5LoaIAjEOv+WCP4kWP6I 6D5jCORxFgd1XWWOesq99vnAKCizALRtFujQGkXz+Ob4sk6c48Yi07g54Bug/OViWnX2 jMqBlbwzx58l6S4slRbzn7RIGekQJX5VN/OAXbPJXZfkjBWvmO587Z1SYfXVzrBX46L7 Azyw== X-Gm-Message-State: APjAAAWsAEJyibiFBjSq4V1TqBw6eXttLjEQRkZ0PUZOBa0hV8ExKmQW KbBtZHpivuE3KacRv17VNmlKZg== X-Received: by 2002:a2e:9117:: with SMTP id m23mr2391175ljg.82.1572007284671; Fri, 25 Oct 2019 05:41:24 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id 10sm821028lfy.57.2019.10.25.05.41.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 05:41:24 -0700 (PDT) From: Rasmus Villemoes To: Qiang Zhao , Li Yang , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Scott Wood , Valentin Longchamp , Rasmus Villemoes Subject: [PATCH v2 17/23] soc: fsl: qe: make qe_ic_cascade_* static Date: Fri, 25 Oct 2019 14:40:52 +0200 Message-Id: <20191025124058.22580-18-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191025124058.22580-1-linux@rasmusvillemoes.dk> References: <20191018125234.21825-1-linux@rasmusvillemoes.dk> <20191025124058.22580-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that the references from arch/powerpc/ are gone, these are only referenced from inside qe_ic.c, so make them static. Signed-off-by: Rasmus Villemoes --- drivers/soc/fsl/qe/qe_ic.c | 6 +++--- include/soc/fsl/qe/qe_ic.h | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/soc/fsl/qe/qe_ic.c b/drivers/soc/fsl/qe/qe_ic.c index 545eb67094d1..e20f1205c0df 100644 --- a/drivers/soc/fsl/qe/qe_ic.c +++ b/drivers/soc/fsl/qe/qe_ic.c @@ -402,7 +402,7 @@ unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic) return irq_linear_revmap(qe_ic->irqhost, irq); } -void qe_ic_cascade_low(struct irq_desc *desc) +static void qe_ic_cascade_low(struct irq_desc *desc) { struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); unsigned int cascade_irq = qe_ic_get_low_irq(qe_ic); @@ -415,7 +415,7 @@ void qe_ic_cascade_low(struct irq_desc *desc) chip->irq_eoi(&desc->irq_data); } -void qe_ic_cascade_high(struct irq_desc *desc) +static void qe_ic_cascade_high(struct irq_desc *desc) { struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); unsigned int cascade_irq = qe_ic_get_high_irq(qe_ic); @@ -428,7 +428,7 @@ void qe_ic_cascade_high(struct irq_desc *desc) chip->irq_eoi(&desc->irq_data); } -void qe_ic_cascade_muxed_mpic(struct irq_desc *desc) +static void qe_ic_cascade_muxed_mpic(struct irq_desc *desc) { struct qe_ic *qe_ic = irq_desc_get_handler_data(desc); unsigned int cascade_irq; diff --git a/include/soc/fsl/qe/qe_ic.h b/include/soc/fsl/qe/qe_ic.h index 8ec21a3bd859..43e4ce95c6a0 100644 --- a/include/soc/fsl/qe/qe_ic.h +++ b/include/soc/fsl/qe/qe_ic.h @@ -67,8 +67,4 @@ void qe_ic_set_highest_priority(unsigned int virq, int high); int qe_ic_set_priority(unsigned int virq, unsigned int priority); int qe_ic_set_high_priority(unsigned int virq, unsigned int priority, int high); -void qe_ic_cascade_low(struct irq_desc *desc); -void qe_ic_cascade_high(struct irq_desc *desc); -void qe_ic_cascade_muxed_mpic(struct irq_desc *desc); - #endif /* _ASM_POWERPC_QE_IC_H */ -- 2.23.0