summaryrefslogtreecommitdiff
path: root/components/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/mtd')
-rw-r--r--components/drivers/mtd/mtd_nand.c2
-rw-r--r--components/drivers/mtd/mtd_nor.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/components/drivers/mtd/mtd_nand.c b/components/drivers/mtd/mtd_nand.c
index ae5aa9c172..646625ade5 100644
--- a/components/drivers/mtd/mtd_nand.c
+++ b/components/drivers/mtd/mtd_nand.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/components/drivers/mtd/mtd_nor.c b/components/drivers/mtd/mtd_nor.c
index b941f9236d..0f6eadeb59 100644
--- a/components/drivers/mtd/mtd_nor.c
+++ b/components/drivers/mtd/mtd_nor.c
@@ -1,6 +1,6 @@
/*
* COPYRIGHT (C) 2018, Real-Thread Information Technology Ltd
- *
+ *
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
@@ -52,7 +52,7 @@ static rt_err_t _mtd_control(rt_device_t dev, int cmd, void *args)
}
#ifdef RT_USING_DEVICE_OPS
-const static struct rt_device_ops mtd_nor_ops =
+const static struct rt_device_ops mtd_nor_ops =
{
_mtd_init,
_mtd_open,