Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755454AbaBGMU3 (ORCPT ); Fri, 7 Feb 2014 07:20:29 -0500 Received: from mail-pb0-f53.google.com ([209.85.160.53]:52712 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755396AbaBGMUX (ORCPT ); Fri, 7 Feb 2014 07:20:23 -0500 Date: Fri, 7 Feb 2014 17:50:18 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: Armin Schindler , Karsten Keil , netdev@vger.kernel.org, josh@joshtriplett.org Subject: [PATCH 03/26] drivers: isdn: Move prototype declarations to header file um_idi.h from idifunc.c Message-ID: <9690fa7234af4562d710b03a3ad88d7ab2894a17.1390408514.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 functions to header file hardware/eicon/um_idi.h because they are used by more than one file. This eliminates the following warnings in hardware/eicon/divasi.c: drivers/isdn/hardware/eicon/divasi.c:446:6: warning: no previous prototype for ‘diva_os_wakeup_read’ [-Wmissing-prototypes] drivers/isdn/hardware/eicon/divasi.c:453:6: warning: no previous prototype for ‘diva_os_wakeup_close’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/isdn/hardware/eicon/idifunc.c | 2 -- drivers/isdn/hardware/eicon/um_idi.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/isdn/hardware/eicon/idifunc.c b/drivers/isdn/hardware/eicon/idifunc.c index fef6586..bacab74 100644 --- a/drivers/isdn/hardware/eicon/idifunc.c +++ b/drivers/isdn/hardware/eicon/idifunc.c @@ -22,8 +22,6 @@ extern char *DRIVERRELEASE_IDI; extern void DIVA_DIDD_Read(void *, int); -extern int diva_user_mode_idi_create_adapter(const DESCRIPTOR *, int); -extern void diva_user_mode_idi_remove_adapter(int); static dword notify_handle; static DESCRIPTOR DAdapter; diff --git a/drivers/isdn/hardware/eicon/um_idi.h b/drivers/isdn/hardware/eicon/um_idi.h index 00ca1e7..e973809 100644 --- a/drivers/isdn/hardware/eicon/um_idi.h +++ b/drivers/isdn/hardware/eicon/um_idi.h @@ -41,5 +41,7 @@ int divas_um_idi_entity_start_remove(void *entity); void diva_um_idi_start_wdog(void *entity); void diva_um_idi_stop_wdog(void *entity); +void diva_user_mode_idi_remove_adapter(int); +int diva_user_mode_idi_create_adapter(const DESCRIPTOR *, int); #endif -- 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/