From patchwork Thu Sep 6 12:45:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1414271 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 704D9DFFCF for ; Thu, 6 Sep 2012 12:52:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755662Ab2IFMvL (ORCPT ); Thu, 6 Sep 2012 08:51:11 -0400 Received: from na3sys009aog123.obsmtp.com ([74.125.149.149]:34036 "EHLO na3sys009aog123.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755693Ab2IFMvG (ORCPT ); Thu, 6 Sep 2012 08:51:06 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]) (using TLSv1) by na3sys009aob123.postini.com ([74.125.148.12]) with SMTP ID DSNKUEicNyPDdk88J/iT7uoqSzHwi1pLujfk@postini.com; Thu, 06 Sep 2012 05:51:06 PDT Received: by lbbgj3 with SMTP id gj3so1101464lbb.19 for ; Thu, 06 Sep 2012 05:50:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=I6TnoqeLQ2+HJRCwoB1lkW8jUHci5WKLHSU8Co2zCwE=; b=jOrj2FsCnNvC7c6KIpkrrWfTQ4m5j4RRU/oP9YVLz1d03sxgFLE5YJfAqd0+hoNri+ QMe2OeHh3bly7CPNlwQV5uPwEmz5iU9+hFyhSPPVnWB24cAxzhdojGxeaXukUxiy+PPE 3eM/8lhBsB2CtbW+fxe2j9oIeUT2lOz7VaCwIJzOJhzA4uLFELdWrIBIeDIdfT2a7M1a OLN+GzX2sVSPy+b+h59h7HL1jmaiGMjbKeHTmqsfP3TTQofvXrL0WEpXMfQH8YXpkjFk I/sVcmFeNz7x4UMCcESNXZTUHjL6V8Kp8jOoopeRYt/5oO0/MWrnbsIKmTZc8SyCD9p2 +FTg== Received: by 10.152.110.46 with SMTP id hx14mr1819569lab.21.1346935852517; Thu, 06 Sep 2012 05:50:52 -0700 (PDT) Received: from localhost (cs78217178.pp.htv.fi. [62.78.217.178]) by mx.google.com with ESMTPS id h8sm562084lbi.13.2012.09.06.05.50.47 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Sep 2012 05:50:51 -0700 (PDT) From: Felipe Balbi To: Greg KH Cc: alan@linux.intel.com, Tony Lindgren , Kevin Hilman , Linux OMAP Mailing List , Linux ARM Kernel Mailing List , linux-serial@vger.kernel.org, Linux Kernel Mailing List , Santosh Shilimkar , Shubhrajyoti Datta , Sourav Poddar , Felipe Balbi Subject: [PATCH v4 14/21] serial: omap: drop "inline" from IRQ handler prototype Date: Thu, 6 Sep 2012 15:45:33 +0300 Message-Id: <1346935540-1792-15-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.12.rc3 In-Reply-To: <1346935540-1792-1-git-send-email-balbi@ti.com> References: <20120906122948.GC29202@arwen.pp.htv.fi> <1346935540-1792-1-git-send-email-balbi@ti.com> X-Gm-Message-State: ALoCoQmFMI6Ilu4ubl0gwhly7lIUvY/KkQ4K9K2QAClnuYHd8LJQPoxellinq58CxOqWgIwnmNRN Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org it makes no sense to mark our IRQ handler inline since it's passed as a function pointer when enabling the IRQ line. Tested-by: Shubhrajyoti D Signed-off-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 9068260..d244163 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -345,7 +345,7 @@ static void serial_omap_rdi(struct uart_omap_port *up, unsigned int lsr) * @irq: uart port irq number * @dev_id: uart port info */ -static inline irqreturn_t serial_omap_irq(int irq, void *dev_id) +static irqreturn_t serial_omap_irq(int irq, void *dev_id) { struct uart_omap_port *up = dev_id; struct tty_struct *tty = up->port.state->port.tty;