From patchwork Tue Jan 12 00:32:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8013021 X-Patchwork-Delegate: kvalo@adurom.com 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 A4A439F1C0 for ; Tue, 12 Jan 2016 00:33:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF8C6201F2 for ; Tue, 12 Jan 2016 00:33:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 06505201EF for ; Tue, 12 Jan 2016 00:33:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932740AbcALAdT (ORCPT ); Mon, 11 Jan 2016 19:33:19 -0500 Received: from mail-pa0-f65.google.com ([209.85.220.65]:34423 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932523AbcALAdS (ORCPT ); Mon, 11 Jan 2016 19:33:18 -0500 Received: by mail-pa0-f65.google.com with SMTP id yy13so25138309pab.1 for ; Mon, 11 Jan 2016 16:33:18 -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=qqDzPICfy4wZTHo0eypAsa/n372RHSd/GNvKtne8IiA=; b=Hi1A8YSlIJcEryljjSBfnqX5Eon/PBArsgLcyI47PymTBGNRzXRLvsZPFn3vwlbHpg kMuOqWbZVIuGxvn3vv7z3mCSy5kWLeZy7tuAnU7Q8TTwo0Df78ZzYpA6nz2nVK6MfxyX L7ZV5dYf8IuGCJC0bBB83bPQYuYOGR4g9sY8GQglhSNq0XWS51BlR1W5EjC07K/SwqK3 fyPjroaIfxk+ph4dpqFR3d4ZxeLnegR8iSzc+ffX0a7qcxlVQQ+jhXqW06NByFptBFRe vD7PV9zrqdxZs0HmkD5DiMKnNlc5lcPf3uGep6/T74+9dRBY1uDprwLf3adW5ChjkANB kNHQ== X-Received: by 10.66.185.225 with SMTP id ff1mr173304851pac.97.1452558798381; Mon, 11 Jan 2016 16:33:18 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id c86sm25747002pfd.75.2016.01.11.16.33.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jan 2016 16:33:17 -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 5/5] staging: wilc1000: remove typedef from struct wilc_cfg_str_t Date: Tue, 12 Jan 2016 09:32:55 +0900 Message-Id: <1452558775-21532-5-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_str_t and renames it to wilc_cfg_str. 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 94193b3..068b06d 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.c +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.c @@ -131,7 +131,7 @@ static struct wilc_cfg_word g_cfg_word[] = { }; -static wilc_cfg_str_t g_cfg_str[] = { +static struct wilc_cfg_str g_cfg_str[] = { {WID_SSID, g_mac.ssid}, /* 33 + 1 bytes */ {WID_FIRMWARE_VERSION, g_mac.firmware_version}, {WID_OPERATIONAL_RATE_SET, g_mac.supp_rate}, diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.h b/drivers/staging/wilc1000/wilc_wlan_cfg.h index f51091e..9b74cc3 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.h +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.h @@ -25,10 +25,10 @@ struct wilc_cfg_word { u32 val; }; -typedef struct { +struct wilc_cfg_str { u32 id; u8 *str; -} wilc_cfg_str_t; +}; struct wilc; int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size);