summaryrefslogtreecommitdiff
path: root/components/drivers/phy/phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/phy/phy.c')
-rw-r--r--components/drivers/phy/phy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/drivers/phy/phy.c b/components/drivers/phy/phy.c
index 3ed4a1a265..6d408ce612 100644
--- a/components/drivers/phy/phy.c
+++ b/components/drivers/phy/phy.c
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 2006-2020, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -34,9 +34,9 @@ static rt_size_t phy_device_write(rt_device_t dev, rt_off_t pos, const void *buf
#ifdef RT_USING_DEVICE_OPS
-const static struct rt_device_ops phy_ops =
+const static struct rt_device_ops phy_ops =
{
- RT_NULL,
+ RT_NULL,
RT_NULL,
RT_NULL,
phy_device_read,