From patchwork Wed Nov 17 22:50:48 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: 12625691 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 CE269C433F5 for ; Wed, 17 Nov 2021 22:51:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B4F2761B7D for ; Wed, 17 Nov 2021 22:51:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241468AbhKQWyR (ORCPT ); Wed, 17 Nov 2021 17:54:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:51448 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241484AbhKQWyF (ORCPT ); Wed, 17 Nov 2021 17:54:05 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0EC726101C; Wed, 17 Nov 2021 22:51:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637189466; bh=w8cQj8Xef1Oh87M1Z22c1qsxYss2IbmH3JBYGxMtkMs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IZImEU3InvHwzczuJnkExTBECRvl+PtQxlBd9KnSHZWBTGusVj8Tw2NxG367P9kHe 3+2+FxqwZfK5S/hVwyQHEClQ5BVpgFAG1jwr5NDTnF/hVN8X/AnwzSSBBMYrguSaZX 7MRC0cccVWrisHxucuHQDZAMSzvmBhUmDjIRdYbJEzNXkJIgF230ZbZhrvtvJmFMXp /SUwB8nwug1924uICC0H1SoO6JGrLkQ2PmORK+9U9LqKAXHgygdP0bAhO5KNHeezlc ldb9pVN+BpnrQTjbv7bgQKn+nC6hZDCWIP+yQthcE1/2pJdNhF410JUIudCSjHGOb8 Aife3Sehr+0xg== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: netdev@vger.kernel.org, Andrew Lunn Cc: Jakub Kicinski , David Miller , Russell King , Rob Herring , devicetree@vger.kernel.org, =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH net-next 6/8] net: phy: marvell10g: Use generic macro for supported interfaces Date: Wed, 17 Nov 2021 23:50:48 +0100 Message-Id: <20211117225050.18395-7-kabel@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211117225050.18395-1-kabel@kernel.org> References: <20211117225050.18395-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 Now that phy.h defines macro DECLARE_PHY_INTERFACE_MASK(), use it instead of DECLARE_BITMAP(). Signed-off-by: Marek BehĂșn Reviewed-by: Russell King (Oracle) Reviewed-by: Andrew Lunn --- 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;