Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754189AbbKGSOH (ORCPT ); Sat, 7 Nov 2015 13:14:07 -0500 Received: from mail-io0-f170.google.com ([209.85.223.170]:32901 "EHLO mail-io0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754020AbbKGSOF (ORCPT ); Sat, 7 Nov 2015 13:14:05 -0500 MIME-Version: 1.0 In-Reply-To: <20151107135427.GH18797@mwanda> References: <1446895909-30052-1-git-send-email-punitvara@gmail.com> <20151107135427.GH18797@mwanda> Date: Sat, 7 Nov 2015 23:44:04 +0530 Message-ID: Subject: Re: [PATCH] Staging: wilc1000: Fix build break due to undeclared *wilc and implicit declaration of init_irq From: punit vara To: Dan Carpenter Cc: Greg KH , devel@driverdev.osuosl.org, chris.park@atmel.com, Austin Shin , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, johnny.kim@atmel.com, tony.cho@atmel.com, leo.kim@atmel.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 905 Lines: 30 On Sat, Nov 7, 2015 at 7:24 PM, Dan Carpenter wrote: > On Sat, Nov 07, 2015 at 05:01:49PM +0530, Punit Vara wrote: >> int wilc1000_wlan_init(struct net_device *dev, perInterface_wlan_t *p_nic) >> { >> @@ -1791,6 +1794,7 @@ int wilc_netdev_init(struct wilc **wilc) >> /*The 1st function called after module inserted*/ >> static int __init init_wilc_driver(void) >> { >> + struct wilc *wilc; >> #ifdef WILC_SPI >> struct wilc *wilc; >> #endif > > This patch still has the same problems as before. > > regards, > dan carpenter > > Should I remove #ifdef WILC_SPI struct wilc *wilc; #endif ? Built is successful -- 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/