summaryrefslogtreecommitdiff
path: root/components/drivers/mtd
diff options
context:
space:
mode:
authorMeco Jianting Man <[email protected]>2021-03-17 02:32:02 +0800
committerGitHub <[email protected]>2021-03-17 02:32:02 +0800
commit295b95cd7529bc9b85b4fb8ee8b37c62811ffbc8 (patch)
treeb834c7a930dd12735759a6358ccef2bb94cfcc6f /components/drivers/mtd
parentc3ffe18688a3696a486855ae98002714546bd836 (diff)
parentb12615f344e7e0824ab262994f443c452be04973 (diff)
Merge pull request #28 from RT-Thread/master
pr
Diffstat (limited to 'components/drivers/mtd')
-rw-r--r--components/drivers/mtd/mtd_nand.c2
-rw-r--r--components/drivers/mtd/mtd_nor.c6
2 files changed, 4 insertions, 4 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..fd5ceb0d9f 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
- *
+ * COPYRIGHT (C) 2011-2021, 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,