[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220228233057.1140817-1-pgwipeout@gmail.com>
Date: Mon, 28 Feb 2022 18:30:57 -0500
From: Peter Geis <pgwipeout@...il.com>
To: Peter Geis <pgwipeout@...il.com>, Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: linux-rockchip@...ts.infradead.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v1] net: phy: fix motorcomm module automatic loading
The sentinel compatible entry whitespace causes automatic module loading
to fail with certain userspace utilities. Fix this by removing the
whitespace and sentinel comment, which is unnecessary.
Fixes: 48e8c6f1612b ("net: phy: add driver for Motorcomm yt8511 phy")
Signed-off-by: Peter Geis <pgwipeout@...il.com>
---
drivers/net/phy/motorcomm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c
index 7e6ac2c5e27e..1e3a4eed39bc 100644
--- a/drivers/net/phy/motorcomm.c
+++ b/drivers/net/phy/motorcomm.c
@@ -131,7 +131,7 @@ MODULE_LICENSE("GPL");
static const struct mdio_device_id __maybe_unused motorcomm_tbl[] = {
{ PHY_ID_MATCH_EXACT(PHY_ID_YT8511) },
- { /* sentinal */ }
+ {}
};
MODULE_DEVICE_TABLE(mdio, motorcomm_tbl);
--
2.25.1
Powered by blists - more mailing lists