From patchwork Wed Nov 10 19:07:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 12612611 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 442B3C43217 for ; Wed, 10 Nov 2021 19:07:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3188261058 for ; Wed, 10 Nov 2021 19:07:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232602AbhKJTKN (ORCPT ); Wed, 10 Nov 2021 14:10:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:34002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232619AbhKJTKL (ORCPT ); Wed, 10 Nov 2021 14:10:11 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4FE5E6117A; Wed, 10 Nov 2021 19:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636571243; bh=w8cQj8Xef1Oh87M1Z22c1qsxYss2IbmH3JBYGxMtkMs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fT6ZrsEuT/Gb9BXYCKoHiW8SLLpPZ7SF6lcM1EimDRIJhIV7ZHCkg1gyXOZMsL5s0 dKVnVshiz0gGsZpEtCAycclZHGqzIRaVkZkfeEIlRORjP1C49qtUtx4CkvyNwRQ4as nj2RDU50xxSkge/iT0uH7EFTtsNp/WGWPj3p5D+DwsuFT6B7iZstLqIUQeFwqKiYAp hT4MtBbV/vj1mW0f+QskwKwgJ+hegXn3iGGkbZcNTKPZh5ED3OU6wsp5giUNRKY2Qb Uk3mXpDWNV6ZVcTFxpEUYFTgyyueXkvCsYQCIH5k0vyU2TOfusil/SdeQCHl7G5vEm 7/XU74ZUaixBw== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Andrew Lunn , netdev@vger.kernel.org Cc: devicetree@vger.kernel.org, Rob Herring , Russell King , pali@kernel.org, =?utf-8?q?Marek?= =?utf-8?q?_Beh=C3=BAn?= Subject: [PATCH RFC net-next 6/8] net: phy: marvell10g: Use generic macro for supported interfaces Date: Wed, 10 Nov 2021 20:07:07 +0100 Message-Id: <20211110190709.16505-7-kabel@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211110190709.16505-1-kabel@kernel.org> References: <20211110190709.16505-1-kabel@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org X-Patchwork-State: RFC Now that phy.h defines macro DECLARE_PHY_INTERFACE_MASK(), use it instead of DECLARE_BITMAP(). Signed-off-by: Marek BehĂșn --- drivers/net/phy/marvell10g.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/marvell10g.c b/drivers/net/phy/marvell10g.c index b6fea119fe13..d289641190db 100644 --- a/drivers/net/phy/marvell10g.c +++ b/drivers/net/phy/marvell10g.c @@ -148,7 +148,7 @@ struct mv3310_chip { }; struct mv3310_priv { - DECLARE_BITMAP(supported_interfaces, PHY_INTERFACE_MODE_MAX); + DECLARE_PHY_INTERFACE_MASK(supported_interfaces); u32 firmware_ver; bool has_downshift;