From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754221Ab3LNUbv (ORCPT ); Sat, 14 Dec 2013 15:31:51 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:52524 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753480Ab3LNUbt convert rfc822-to-8bit (ORCPT ); Sat, 14 Dec 2013 15:31:49 -0500 X-Originating-IP: 50.43.14.201 Date: Sat, 14 Dec 2013 12:31:42 -0800 From: Josh Triplett To: Rashika Kheria Cc: linux-kernel@vger.kernel.org, "David S. Miller" , Sebastian Andrzej Siewior , Sachin Kamat , netdev@vger.kernel.org Subject: Re: [PATCH v2 5/9] drivers: net: Put prototype declaration for function sbni_probe() in sbni.c Message-ID: <20131214203142.GG17601@leaf> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 14, 2013 at 05:55:42PM +0530, Rashika Kheria wrote: > This patch declares the prototype for the function sbni_probe() in file sbni.c. > > Thus, it also removes the following warning in wan/sbni.c: > drivers/net/wan/sbni.c:224:12: warning: no previous prototype for ‘sbni_probe’ [-Wmissing-prototypes] > > Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett > drivers/net/wan/sbni.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c > index 388ddf6..5061ffd 100644 > --- a/drivers/net/wan/sbni.c > +++ b/drivers/net/wan/sbni.c > @@ -221,6 +221,7 @@ static void __init sbni_devsetup(struct net_device *dev) > dev->netdev_ops = &sbni_netdev_ops; > } > > +int __init sbni_probe(int unit); > int __init sbni_probe(int unit) > { > struct net_device *dev; > -- > 1.7.9.5 >