From patchwork Sat Jun 18 16:49:38 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: 9185755 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 E638D601C0 for ; Sat, 18 Jun 2016 16:50:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D51EC28362 for ; Sat, 18 Jun 2016 16:50:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C83A82836B; Sat, 18 Jun 2016 16:50:54 +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 6E21528362 for ; Sat, 18 Jun 2016 16:50:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751416AbcFRQuP (ORCPT ); Sat, 18 Jun 2016 12:50:15 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:34604 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751343AbcFRQuN (ORCPT ); Sat, 18 Jun 2016 12:50:13 -0400 Received: by mail-lf0-f65.google.com with SMTP id l184so2144382lfl.1; Sat, 18 Jun 2016 09:50:12 -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=eWHSnDT0db2u0/EEzvtDKN5b0nyZg1NhAerlZjEDOw4=; b=NfqBNd4pRrdEtXeswJYjya5KjC+n2XZ3UVaddnXVH4CkiItQsTWhf8Rslc7XLiiq/w mWGgvi8PSEkbF7LV9vmdlPRm9BaAFLcs1UTikitWG8EY6dztoDSV0a2eF3NqlAB/gMsa rIUpQXOL7Meqbso1+pmy/U/UtgLsXeC2VTt5HQnb0wpQdWbPWi5tEMIAzz8oAZEDgK+s EdC9YPp/EcN8UkwfwSeEtMcRff1A6q50Ftib81hZlEnXeIZAtF8vScV4q0EppvRtLsTh pt8SQyKKBT0biYMhVqHLyt+4BHHdRsPz1aBMGZiKgTGLpm7e1SXkTFNb0GbW1NDloww+ 10jw== 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=eWHSnDT0db2u0/EEzvtDKN5b0nyZg1NhAerlZjEDOw4=; b=boDsy3JjQVkzeqA/m2H6JObYhGwZTQ58IUXsA830+vinT8yP/cuhJOh6RnCcrLNJ4E gFbTjIPOxl5TCLeqdr+nuo4lzl3oSQHqhKykl0j4sCps2ORLELp13fT9ZMqK32HGOufw IyMZwcObDahG8+nkTRJgy/+UXS+6jU9KgOuXJunXD8wCL0srBzwycPqn8qJ9QqdqQ1VJ 55iv4cjrTtNhy1BkkfyH4j4y/lETLcNNvpnFocDJOkCa9Aaf2ISQlpd5vTwWtLycdaL/ x2fsvuSG11ouLJgc73fAxNXfAMd+duAvkSKgdLEEjKEiRHD1GeuU12UIVSiRzxytL4IC t09A== X-Gm-Message-State: ALyK8tJXDM04OOWr5Km3myq9tk5cIudMiK0yuMaSH9rwpI4sOpfsdrGZUv5ajk0FC6B9/g== X-Received: by 10.25.212.77 with SMTP id l74mr1638447lfg.176.1466268611085; Sat, 18 Jun 2016 09:50:11 -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 g28sm5541662ljg.24.2016.06.18.09.50.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jun 2016 09:50:10 -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?= , Arend van Spriel , Franky Lin , Hante Meuleman , Pieter-Paul Giesberts , "Franky (Zhenhui) Lin" , linux-wireless@vger.kernel.org (open list:BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER), brcm80211-dev-list.pdl@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 also core.h header in cfg80211.h Date: Sat, 18 Jun 2016 18:49:38 +0200 Message-Id: <1466268596-12178-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 This header provides two inline functions using struct brcmf_if so we need core.h to avoid: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h: In function ‘ndev_to_prof’: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:368:13: error: dereferencing pointer to incomplete type return &ifp->vif->profile; ^ drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h: In function ‘ndev_to_vif’: drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:374:12: error: dereferencing pointer to incomplete type return ifp->vif; ^ Signed-off-by: Rafał Miłecki --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h index 04bfc7e..7d77f86 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h @@ -20,6 +20,7 @@ /* for brcmu_d11inf */ #include +#include "core.h" #include "fwil_types.h" #include "p2p.h"