From patchwork Thu Aug 23 10:32:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1365751 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 72A2BDF2AB for ; Thu, 23 Aug 2012 10:40:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030291Ab2HWKkD (ORCPT ); Thu, 23 Aug 2012 06:40:03 -0400 Received: from na3sys009aog110.obsmtp.com ([74.125.149.203]:43302 "EHLO na3sys009aog110.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933869Ab2HWKhv (ORCPT ); Thu, 23 Aug 2012 06:37:51 -0400 Received: from mail-lpp01m010-f48.google.com ([209.85.215.48]) (using TLSv1) by na3sys009aob110.postini.com ([74.125.148.12]) with SMTP ID DSNKUDYH/XSwocoLCRp5MCOqF2SPQbt/Un/v@postini.com; Thu, 23 Aug 2012 03:37:51 PDT Received: by lagr15 with SMTP id r15so402211lag.21 for ; Thu, 23 Aug 2012 03:37:47 -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=t1PFkXA+WXy5i4S9LKnKRMtgiwxADGoT5uxNwOt92go=; b=decioZfoP0C3T50f5IppWbsD0BApvyPrkwsYcP0AgbS0zXn9+KbztRIQR527sOWJkY d6Bl0gnGvAvaJ7R6gpxM60Wmzbi5iw5zKGhX5FTK0ol84xGAsy5cm9f5atKfxTnP8I3F 6YRWO0lF9+fUsIPVrpHGF2u3rwIW/pmCgG8YFeUrIeKYPI9pLrpi3shtkpKY2UVdgYYL Wd/UW0lsavQse6JhiRGje4nRGvaVB62sPoZcbm749vGX/mJYQQ/d9nj9s7MS3jwf9I4N QKYdFjZkRY3EXkDvn7+WJ7Sh+ozOCN6WBVhzZ9vuEhr+Gn6dhd/yTbBOClihntdzGvHL UAZw== Received: by 10.112.101.194 with SMTP id fi2mr650054lbb.104.1345718267505; Thu, 23 Aug 2012 03:37:47 -0700 (PDT) Received: from localhost (cs78217178.pp.htv.fi. [62.78.217.178]) by mx.google.com with ESMTPS id lv13sm7086055lab.8.2012.08.23.03.37.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Aug 2012 03:37:46 -0700 (PDT) From: Felipe Balbi To: alan@linux.intel.com Cc: 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 v3 16/23] serial: omap: drop "inline" from IRQ handler prototype Date: Thu, 23 Aug 2012 13:32:56 +0300 Message-Id: <1345717983-18179-17-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.12.rc3 In-Reply-To: <1345717983-18179-1-git-send-email-balbi@ti.com> References: <1345717983-18179-1-git-send-email-balbi@ti.com> X-Gm-Message-State: ALoCoQmPF9PVyDCaOoPCEMtA5AytjrVnhXsBJFPKDDyCs4wthB0k+VxEu4iGUHo4fmmGs5GcCGmH 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 bdfd019..ba22247 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -344,7 +344,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;