Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755339AbaBGMpf (ORCPT ); Fri, 7 Feb 2014 07:45:35 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:64031 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754061AbaBGMpa (ORCPT ); Fri, 7 Feb 2014 07:45:30 -0500 Date: Fri, 7 Feb 2014 18:15:25 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: Armin Schindler , Karsten Keil , netdev@vger.kernel.org, josh@joshtriplett.org Subject: [PATCH 22/26] drivers: isdn: Move prototype declaration to header file platform.h from os_pri.c Message-ID: <75cbf329199ed91fac870437917e7d14a7e59635.1390408519.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 declarations of functions to header file because they are used by more than file. This eliminates the following warnings in hardware/eicon/s_pri.c: drivers/isdn/hardware/eicon/s_pri.c:192:6: warning: no previous prototype for ‘prepare_pri_functions’ [-Wmissing-prototypes] drivers/isdn/hardware/eicon/s_pri.c:200:6: warning: no previous prototype for ‘prepare_pri2_functions’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/isdn/hardware/eicon/os_pri.c | 6 ------ drivers/isdn/hardware/eicon/platform.h | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/isdn/hardware/eicon/os_pri.c b/drivers/isdn/hardware/eicon/os_pri.c index acc1de6..129007c 100644 --- a/drivers/isdn/hardware/eicon/os_pri.c +++ b/drivers/isdn/hardware/eicon/os_pri.c @@ -30,12 +30,6 @@ #define DIVA_PRI_NO_PCI_BIOS_WORKAROUND 1 -/* -** IMPORTS -*/ -extern void prepare_pri_functions(PISDN_ADAPTER IoAdapter); -extern void prepare_pri2_functions(PISDN_ADAPTER IoAdapter); - static int diva_pri_cleanup_adapter(diva_os_xdi_adapter_t *a); static int diva_pri_cmd_card_proc(struct _diva_os_xdi_adapter *a, diva_xdi_um_cfg_cmd_t *cmd, int length); diff --git a/drivers/isdn/hardware/eicon/platform.h b/drivers/isdn/hardware/eicon/platform.h index af3d0a6..f26f6cb 100644 --- a/drivers/isdn/hardware/eicon/platform.h +++ b/drivers/isdn/hardware/eicon/platform.h @@ -192,6 +192,9 @@ void prepare_qBri_functions(PISDN_ADAPTER IoAdapter); void prepare_qBri2_functions(PISDN_ADAPTER IoAdapter); int qBri_FPGA_download(PISDN_ADAPTER IoAdapter); +void prepare_pri_functions(PISDN_ADAPTER IoAdapter); +void prepare_pri2_functions(PISDN_ADAPTER IoAdapter); + /* ** use skbuffs for message buffer */ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/