summaryrefslogtreecommitdiff
path: root/components/drivers/mtd
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-03-08 18:19:04 +0800
committerMeco Man <[email protected]>2021-03-08 18:19:04 +0800
commit3c05a4e7193ee553bf502560e7de4be6489c7629 (patch)
tree69771215353ad4697e7c12a969f9bada32129265 /components/drivers/mtd
parentce86058201432e865b8d7c4096b3675642a43a42 (diff)
[compoenets] auto & manual formatted
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,