From patchwork Tue Jun 7 06:20:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 9159889 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1CABB60467 for ; Tue, 7 Jun 2016 06:21:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D90925E13 for ; Tue, 7 Jun 2016 06:21:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 00D3028326; Tue, 7 Jun 2016 06:21:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9877525E13 for ; Tue, 7 Jun 2016 06:21:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750795AbcFGGVD (ORCPT ); Tue, 7 Jun 2016 02:21:03 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:36358 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750792AbcFGGVB (ORCPT ); Tue, 7 Jun 2016 02:21:01 -0400 Received: by mail-lf0-f67.google.com with SMTP id h68so15277353lfh.3; Mon, 06 Jun 2016 23:21:00 -0700 (PDT) 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-transfer-encoding; bh=DconmWngQyNclHZYLbV5nGJZ9l/eVPmy86AKhVREUT4=; b=yRepWa9yAcVz791qLxDBggdVJQKvHrgogL7sfTrrrgJpA3Vyyzjy6/IdXrLoB7TfKE XKMuuHDXdDw5rfFG0VDu4p/BQY4PDgdLWCg6qg9phnjMrE0FZ7CEho1uLx6yskpfNFOg FGN9wTafFyXI3uvRNWRUx0mPEZogwD7aGJ6B9SZAeFGQWxgZdGGAtIE/++Km2ka+hmen 3DXUUj5ta0c4G6aQjZ/6T4biKy6wAX1bkXcsPbX74ruvH9Tlyjyx/+KQRdGweFVqCB6g u7Hs+ol2P5XRtOGGh+RjsCn1MoctAGkeJ+eLZnk5aYEcTtnjbZeDcXdHU4x+gqq9XCFH tqHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DconmWngQyNclHZYLbV5nGJZ9l/eVPmy86AKhVREUT4=; b=UWH2tZVLKWKd22EswugBy55fTAusnMg0TEv+FN6bqo7ZRsdRXGHJ2tn0IHXom1GN5X ORl5JMpu+pOEifuFK/I8nYFUU5ws3DWxXEnjk4Caa4APjM1ZnO31F9X9QdrEMZFU+nJ6 knIukbOCoOTngiydJf0+2en4IIu7REonKO0n1vMwutAm22WxBcrisinqxqkjwyNv9p/X Ox3QjVG2PvhYbRZ2IJBKLHsfvA8ktqQJj03q52QWwWjHTSXJj4mGiWvAbgw2Q52f6cH6 Njfg7d04Q5gA+PkCs4MAwWowJjRP0guI6M6wjJQuBCEPUe//JKAD+q9beVyJnXxoZOP7 cvAw== X-Gm-Message-State: ALyK8tIH6d1nBAsaNQKvEX8VUBRNmt+3Gd6R2vjlOT1YsKK6Ye5QB5aFO3oX2lZRXY0DDg== X-Received: by 10.25.148.144 with SMTP id w138mr2799056lfd.73.1465280459052; Mon, 06 Jun 2016 23:20:59 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id 204sm2120806ljf.7.2016.06.06.23.20.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jun 2016 23:20:57 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Kalle Valo Cc: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Brett Rudley , Arend van Spriel , "Franky (Zhenhui) Lin" , Hante Meuleman , Pieter-Paul Giesberts , linux-wireless@vger.kernel.org (open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER), brcm80211-dev-list@broadcom.com (open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] brcmfmac: include required headers in cfg80211.h Date: Tue, 7 Jun 2016 08:20:21 +0200 Message-Id: <1465280428-5782-1-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without this including cfg80211.h in a wrong order could result in: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:122:24: error: array type has incomplete element type struct brcmf_wsec_key key[BRCMF_MAX_DEFAULT_KEYS]; ^ drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:291:24: error: field ‘p2p’ has incomplete type struct brcmf_p2p_info p2p; ^ drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:297:27: error: field ‘pmk_list’ has incomplete type struct brcmf_pmk_list_le pmk_list; ^ drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:317:28: error: field ‘assoclist’ has incomplete type struct brcmf_assoclist_le assoclist; Signed-off-by: Rafał Miłecki --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h index c6f9986..04bfc7e 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h @@ -20,6 +20,9 @@ /* for brcmu_d11inf */ #include +#include "fwil_types.h" +#include "p2p.h" + #define WL_NUM_SCAN_MAX 10 #define WL_TLV_INFO_MAX 1024 #define WL_BSS_INFO_MAX 2048