From patchwork Fri Nov 6 21:59:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: punit vara X-Patchwork-Id: 7573701 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E67999F2F7 for ; Fri, 6 Nov 2015 21:59:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 12AF9206FA for ; Fri, 6 Nov 2015 21:59:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 44E5C206F9 for ; Fri, 6 Nov 2015 21:59:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033704AbbKFV7g (ORCPT ); Fri, 6 Nov 2015 16:59:36 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:36576 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030287AbbKFV7e (ORCPT ); Fri, 6 Nov 2015 16:59:34 -0500 Received: by wimw2 with SMTP id w2so38505617wim.1; Fri, 06 Nov 2015 13:59:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=GhNOn3KDkgzUPj00Z3R3sSzTpE2A5Sig5dz1ET/BxbU=; b=HzgGzmYiqgBQ/3YOIlNt3FGpPl1DNsIiNR5jmjQySh0gSAA5DbxQPFGQ8T/AGO0heU RLfXYjU9bHV4mF+aehF7+LbaX54ql3mR6kocHoctU92uoqeNDPMVFXGw93B95WMtk/K8 EHg9YTEEiOYZG0X3ofKWCxyAX6ndSCYPBeiD3hN5P79WZgx6fB1VVRc39XabLfkkcjBA ZTnd29wSXILdsnaK86CZIJdgSwp1WAR5XEz7t9sD8oq9own/R8xZJe4Ykj2S+1XrDF1g vHUYYpbNkCsnzjK9tb+UnZV8jRjNbq4X2wkN3jYFhF2aNbGDVO8Khv6Wu73/gs4TPEw6 CO9w== X-Received: by 10.194.58.142 with SMTP id r14mr20282272wjq.37.1446847173678; Fri, 06 Nov 2015 13:59:33 -0800 (PST) Received: from localhost.localdomain ([163.47.12.166]) by smtp.gmail.com with ESMTPSA id it4sm2069212wjb.0.2015.11.06.13.59.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Nov 2015 13:59:33 -0800 (PST) From: Punit Vara To: gregkh@linuxfoundation.org Cc: glen.lee@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Punit Vara Subject: [PATCH] Staging: wilc1000: Declare *wilc in init_wilc_driver to fix build error Date: Sat, 7 Nov 2015 03:29:23 +0530 Message-Id: <1446847163-9643-1-git-send-email-punitvara@gmail.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch is to the linux_wlan.c file that fixes declaration of *wilc to remove following error while building it. make drivers/staging/wilc1000/linux_wlan.o drivers/staging/wilc1000/linux_wlan.c:1824:24: error: ‘wilc’ undeclared Signed-off-by: Punit Vara --- drivers/staging/wilc1000/linux_wlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 2a5b36f..0805050 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -1780,6 +1780,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