From patchwork Thu Jan 13 08:54:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 12712421 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D6B3C433FE for ; Thu, 13 Jan 2022 08:55:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231528AbiAMIzw (ORCPT ); Thu, 13 Jan 2022 03:55:52 -0500 Received: from mail-co1nam11on2053.outbound.protection.outlook.com ([40.107.220.53]:51425 "EHLO NAM11-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231301AbiAMIzp (ORCPT ); Thu, 13 Jan 2022 03:55:45 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LFzZPaQCBWx9vpBIGyOWAXcHAmKo3aNhkYTyZVNErYnDEkQFnhRGdeqbeCr0t3AzusKbV8yA6mMt841q3CxCjSCfbuoM8Obft4m3mQEImX6NDdEztnHXQqsW+n1+X/+zv7PMixCVmpWvNSdIEaCBH8BKwddha9ComziGnYI5a6B4+1lNsgCsuw2ywSlsmayqCCxQKhLERZ5ocgz0lxSqD8/mAfwKQrEUgeYz4q0UEQxUnA3xx8MDToWFR9Yy8asXgkYEi2kqJkljY11nqf7XI61eXCn925hSQ6xs2BrfbnAdx5BYsOBzWdjls7/iH2SZlHFBIKj51ZLVTt3FL/L1bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9+/IB7ST8nlr1026UP+IngQPCmbmpjBPYvEwZJa3Mhs=; b=DXc4gFmzyHgotmMfpALhTErh077fxE4eOxScsBO4oAIJ3T6er6DRw0E1A4N9m/15nHmjBy4njFDmoWqO3PgFzZZP93H0uNFq1DKBxvAVAWgjSh9FUutp5K18vihUYP7gxxMVbzoc1omvDrIqzj0hEDBJNGdkxwxKRq+hXAYhlSk6zhPFIk6y006jZRXfo+PEspbPE9dhceQ9N/jCiT/XCEn6V+4AASNGr3W0zJHYyZ7i6z+abGXDMwTMalJq+DVRzKdCYANCBmPMA5KRJPYS8Lf00//ncRw27tLMup6+f7b4NyGSlxbUPjFbDbSt9aH/yN1KMEDFXx0ZxEyqRy8P/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9+/IB7ST8nlr1026UP+IngQPCmbmpjBPYvEwZJa3Mhs=; b=BLQwfu1mf3Ndq1p6IMXG4eQbke2OVRakKpIcXhzI9/UlUJkqYiRCZp3uGAr3Y4xqPt4GB8nsTZhasoc0mhNPzD4jU5RR0rAiYfFOjtH2eLnyPvXcTD4rABV/ZD7vAnrdSthMaDLEJYqHJfO9kn48/4aNE0rzV1iIkkYVwvdQqmA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silabs.com; Received: from PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) by BY5PR11MB4040.namprd11.prod.outlook.com (2603:10b6:a03:186::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.10; Thu, 13 Jan 2022 08:55:44 +0000 Received: from PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::d031:da9e:71a:73e4]) by PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::d031:da9e:71a:73e4%5]) with mapi id 15.20.4888.011; Thu, 13 Jan 2022 08:55:44 +0000 From: Jerome Pouiller To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Kalle Valo , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH 03/31] staging: wfx: fix missing headers Date: Thu, 13 Jan 2022 09:54:56 +0100 Message-Id: <20220113085524.1110708-4-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220113085524.1110708-1-Jerome.Pouiller@silabs.com> References: <20220113085524.1110708-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: SA0PR11CA0117.namprd11.prod.outlook.com (2603:10b6:806:d1::32) To PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b622f7f8-f28d-44f7-913f-08d9d6727b90 X-MS-TrafficTypeDiagnostic: BY5PR11MB4040:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:551; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6gyyL0K2L5bJuEgZXSPFFlViEFoAPP1FNrAH/zOMgNUhWgxVtQ/TZYuK4r6dyDkYD6PEv0viq7S4U3mfEDq/lvHAS7VfiiCe2EcNEujIPtmI4UvAtj8PypYPz1Oyqj3Erc2jvPlMam1fcwl41GlnLXuvCWbaisId34TSOj6otV68BfURLRDsQo0js4r/cZwdqKWjqzJstVlW5Mqid2dbzPaHPWvuiFZEW6YbygFV4gVvNTug+CgCAqm80XrMQjpsshZU4Hr9QYpUlVoWzeIuMVHaVvlvY0wJm7q9eOY5fJRaSsPCU1AK7UCl6ouiq7dNzCtqA0SXeVRXc0fLxFV7g6o8LDTgiSNW1ZnNK8XuXsvWukWaypbzQyXk5xhu0FLJ8eTUpNx89kEf7n8WWYmY98V8nBbBa8K7014nHKpMSjs2o+lbBU5NfYDwiQpGPw4b/ZvtzZZBLev3/csBUKqUmfhXSLVIxCjGIanjNfyRMDG9rewOREKKYA2p/6t/+y6LVzT98io37xBY8Y8OgDYwfFYEz1OIDC9+VBRJAFNkaYDLpq3BvrVKSzOr9D9PSRB8jPth1SJFUC9UfDucsDbVUcASBtiBcv+iAn22N0fX82Mf56OFfPrB2PcDEjImlSdjB+IEVTBvqCyJt8CdUeJyjA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5657.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(6506007)(508600001)(186003)(38100700002)(4326008)(8936002)(6512007)(6666004)(66946007)(83380400001)(1076003)(2616005)(54906003)(86362001)(66556008)(2906002)(66476007)(316002)(52116002)(36756003)(5660300002)(66574015)(8676002)(6486002)(107886003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?3uggEfrA5m192wpsyiJN/s039hyU?= =?utf-8?q?KLWrqrvI2dmMl1NwZMvAuO2HSOVDOgGZ4GibAMH2x6W0CQTF4Px7jTP0+JHslXWWC?= =?utf-8?q?jX2ipYHUuqIyNXWcCXLr/PSsoo7Vl6fXrnyj+NDJSAGsgtS/q9pk1V7TmPokveu6z?= =?utf-8?q?B9jZ1Pzs1xMvRYlhynbVYa6JgSfPAwEOVPfJms7BiXUPJawGXBE7vQrxN0mOEqO0Y?= =?utf-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wMReDJTbIZ/LJBAsXPcP59TD8cq6YXENOyPmHIkgmt9yENfdiYVChY12yfK6?= =?utf-8?q?lm97/mTLP4rZpwA/+STnzw5YQxtjJZrkpqZPW6Fx6CiVDYJdNC+pZkb2vHSvyvrAM?= =?utf-8?q?MR6GagYTeMfIfSgBiUxFkg8Le+AfF9T5laSydj7UbF9KIStuMNpKjZMVlMXHa1uku?= =?utf-8?q?QnQnIZ48R+gv6Hr+GqvZUBuguOkZleOTkGGPTZA7wD+XMOU7VpX3loof51I/9I6KX?= =?utf-8?q?jJ3qLyVFU9jRXQQmPFi/IqKcK50RjEjUNkM87Nzqokoim4qUcZcsync0aNj+aUM7H?= =?utf-8?q?VV6geoytuc9ZJeRIgw4VvsT3957luukAwGeFehv3vYVFP27FixAV77HibKiHIndAG?= =?utf-8?q?9XFnpyFocD0E/78AiEQAR49GBzTOJQwsKTaLP5m+AjM6jLEaaE9ZakeFxgPen0mci?= =?utf-8?q?VMeb7GuWSN7CcSSfBmZHOMZGiuMM1h2oUxF2flhsdvCnKYsaet5mCb2pEIfB/6UVL?= =?utf-8?q?scN9yYPjzTw72uy6vRYyRRUrz2DuRELMIYJT8g+aPPuBzVbTrEuTKg=3D?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: b622f7f8-f28d-44f7-913f-08d9d6727b90 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5657.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2022 08:55:43.9979 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ruzHruSeKO+MYnzbx8weMpkWJaG0uUHhqfPiDg9o6snwjJzimw6LJfXKuzUqj28tOnJ4tJpGOm7pjTCqK830Ow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4040 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jérôme Pouiller Each headers files should include every types it needs to compile (ie. "gcc $CFLAGS -xc file.h" should compile) Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bh.h | 1 + drivers/staging/wfx/hif_tx.h | 4 ++++ drivers/staging/wfx/hif_tx_mib.h | 7 ++++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wfx/bh.h b/drivers/staging/wfx/bh.h index 6c121ce4dd3f..a44c8b421b7c 100644 --- a/drivers/staging/wfx/bh.h +++ b/drivers/staging/wfx/bh.h @@ -10,6 +10,7 @@ #include #include +#include #include struct wfx_dev; diff --git a/drivers/staging/wfx/hif_tx.h b/drivers/staging/wfx/hif_tx.h index e57eabdcfa77..f7895845686f 100644 --- a/drivers/staging/wfx/hif_tx.h +++ b/drivers/staging/wfx/hif_tx.h @@ -10,6 +10,10 @@ #ifndef WFX_HIF_TX_H #define WFX_HIF_TX_H +#include +#include +#include + struct ieee80211_channel; struct ieee80211_bss_conf; struct ieee80211_tx_queue_params; diff --git a/drivers/staging/wfx/hif_tx_mib.h b/drivers/staging/wfx/hif_tx_mib.h index 2a3b84868ee4..fe08a69412ab 100644 --- a/drivers/staging/wfx/hif_tx_mib.h +++ b/drivers/staging/wfx/hif_tx_mib.h @@ -9,8 +9,13 @@ #ifndef WFX_HIF_TX_MIB_H #define WFX_HIF_TX_MIB_H -struct wfx_vif; +#include + struct sk_buff; +struct wfx_vif; +struct wfx_dev; +struct hif_ie_table_entry; +struct hif_mib_extended_count_table; int hif_set_output_power(struct wfx_vif *wvif, int val); int hif_set_beacon_wakeup_period(struct wfx_vif *wvif,