From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755988AbaBGMnn (ORCPT ); Fri, 7 Feb 2014 07:43:43 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:42906 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754064AbaBGMnh (ORCPT ); Fri, 7 Feb 2014 07:43:37 -0500 Date: Fri, 7 Feb 2014 18:13:31 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: Armin Schindler , Karsten Keil , netdev@vger.kernel.org, josh@joshtriplett.org Subject: [PATCH 20/26] drivers: isdn: Move prototype declaration to header file platform.h from os_bri.c Message-ID: <12fda898932a31976ad618bfd170ccff77b675ac.1390408518.git.rashika.kheria@gmail.com> References: <3cb4d7892ba5a0c0936b3a1e2c9c991a6dbc3229.1390408513.git.rashika.kheria@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3cb4d7892ba5a0c0936b3a1e2c9c991a6dbc3229.1390408513.git.rashika.kheria@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move prototype declaration of function to header file because they are used by more than one file. This eliminates the following warnings in hardware/eicon/s_bri.c: drivers/isdn/hardware/eicon/s_bri.c:163:6: warning: no previous prototype for ‘prepare_maestra_functions’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/isdn/hardware/eicon/os_bri.c | 5 ----- drivers/isdn/hardware/eicon/platform.h | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/isdn/hardware/eicon/os_bri.c b/drivers/isdn/hardware/eicon/os_bri.c index c7a45e6..b61e335 100644 --- a/drivers/isdn/hardware/eicon/os_bri.c +++ b/drivers/isdn/hardware/eicon/os_bri.c @@ -20,11 +20,6 @@ #include "diva.h" /* -** IMPORTS -*/ -extern void prepare_maestra_functions(PISDN_ADAPTER IoAdapter); - -/* ** LOCALS */ static int bri_bar_length[3] = { diff --git a/drivers/isdn/hardware/eicon/platform.h b/drivers/isdn/hardware/eicon/platform.h index d648ab7..a507cea 100644 --- a/drivers/isdn/hardware/eicon/platform.h +++ b/drivers/isdn/hardware/eicon/platform.h @@ -185,6 +185,8 @@ void idifunc_finit(void); int diddfunc_init(void); void diddfunc_finit(void); +void prepare_maestra_functions(PISDN_ADAPTER IoAdapter); + /* ** use skbuffs for message buffer */ -- 1.7.9.5