From patchwork Tue Jan 12 00:32:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8012991 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E370FBEEE5 for ; Tue, 12 Jan 2016 00:33:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 13322201F2 for ; Tue, 12 Jan 2016 00:33:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 42BC3201EF for ; Tue, 12 Jan 2016 00:33:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932617AbcALAdL (ORCPT ); Mon, 11 Jan 2016 19:33:11 -0500 Received: from mail-pa0-f67.google.com ([209.85.220.67]:36766 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932523AbcALAdJ (ORCPT ); Mon, 11 Jan 2016 19:33:09 -0500 Received: by mail-pa0-f67.google.com with SMTP id a20so20042498pag.3 for ; Mon, 11 Jan 2016 16:33:09 -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:in-reply-to:references; bh=APdwgeLQbjhq7bo/AFPFFdEpiIwhcczFbbjhLJsk184=; b=T80wokTkLPtuy2XpX8toKy2cA6D/UVKHSFxu7kZBMG5uC82kSeeVt6VkRrHVv45zTt zuVhEnvezcC41u/Z03L2IXyumzkqyAA6z+hjAMBbaf/Dv9ETTSlmBnu1aXf4wEj4s8oT oY3MopbMoL7mNAMXkuDQ3p50MgvAN1KSAYlgiCIYcHuk5KwbeSYQrBPQexcl4n+q2jR3 unv5o+mDy7MOA9gN/2tFSOIlDf/gD1LLTAWMi6vApBI10foULc+xyB8akiTihbVP1Pne i5htprt6hFQJ/I9MX82Q7/X18cguxzYH0NCsqH0G4VS8/HAyJWOSK3DoV3GI/hPn5ubf A5fw== X-Received: by 10.66.253.198 with SMTP id ac6mr356820pad.37.1452558789177; Mon, 11 Jan 2016 16:33:09 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id c86sm25747002pfd.75.2016.01.11.16.33.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jan 2016 16:33:08 -0800 (PST) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, austin.shin@atmel.com, chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 2/5] staging: wilc1000: remove typedef from struct wilc_cfg_byte_t Date: Tue, 12 Jan 2016 09:32:52 +0900 Message-Id: <1452558775-21532-2-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1452558775-21532-1-git-send-email-chaehyun.lim@gmail.com> References: <1452558775-21532-1-git-send-email-chaehyun.lim@gmail.com> 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, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 removes typedef from struct wilc_cfg_byte_t and renames it to wilc_cfg_byte. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 2 +- drivers/staging/wilc1000/wilc_wlan_cfg.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.c b/drivers/staging/wilc1000/wilc_wlan_cfg.c index b72c77b..54b394c 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.c +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.c @@ -44,7 +44,7 @@ typedef struct { static wilc_mac_cfg_t g_mac; -static wilc_cfg_byte_t g_cfg_byte[] = { +static struct wilc_cfg_byte g_cfg_byte[] = { {WID_BSS_TYPE, 0}, {WID_CURRENT_TX_RATE, 0}, {WID_CURRENT_CHANNEL, 0}, diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.h b/drivers/staging/wilc1000/wilc_wlan_cfg.h index 5f74eb8..d978615 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.h +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.h @@ -10,10 +10,10 @@ #ifndef WILC_WLAN_CFG_H #define WILC_WLAN_CFG_H -typedef struct { +struct wilc_cfg_byte { u16 id; u16 val; -} wilc_cfg_byte_t; +}; typedef struct { u16 id;