Messages in this thread Patch in this message | | | From | Peter Geis <> | Subject | [PATCH v1] net: phy: fix motorcomm module automatic loading | Date | Mon, 28 Feb 2022 18:30:57 -0500 |
| |
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@gmail.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
| |