From patchwork Fri Jun 17 15:03:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 637116 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3rWNmg3CQpz9sCy for ; Sat, 18 Jun 2016 01:03:31 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751278AbcFQPDa (ORCPT ); Fri, 17 Jun 2016 11:03:30 -0400 Received: from 82-70-136-246.dsl.in-addr.zen.co.uk ([82.70.136.246]:38226 "EHLO rainbowdash.ducie.codethink.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751103AbcFQPDa (ORCPT ); Fri, 17 Jun 2016 11:03:30 -0400 Received: from ben by rainbowdash.ducie.codethink.co.uk with local (Exim 4.87) (envelope-from ) id 1bDvIt-0004xD-3x; Fri, 17 Jun 2016 16:03:27 +0100 From: Ben Dooks To: linux-kernel@lists.codethink.co.uk Cc: Ben Dooks , linux-gpio@vger.kernel.org, Linus Walleij , Alexandre Courbot Subject: [PATCH] [NEXT] gpiolib: make lineevent_irq_thread static Date: Fri, 17 Jun 2016 16:03:13 +0100 Message-Id: <1466175793-19006-1-git-send-email-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.8.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The lineevent_irq_thread is not exported, so make it static to fix the following warning: drivers/gpio/gpiolib.c:654:13: warning: symbol 'lineevent_irq_thread' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: linux-gpio@vger.kernel.org Cc: Linus Walleij Cc: Alexandre Courbot --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 8b3db59..7f32fc8 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -651,7 +651,7 @@ static const struct file_operations lineevent_fileops = { #endif }; -irqreturn_t lineevent_irq_thread(int irq, void *p) +static irqreturn_t lineevent_irq_thread(int irq, void *p) { struct lineevent_state *le = p; struct gpioevent_data ge;