fs/procfs: Correct ordering of procfs entries. For consistency, use alphbetical ordering.

This commit is contained in:
Gregory Nutt
2017-11-24 10:00:35 -06:00
parent 37a9808dc9
commit f068eb579c
+4 -4
View File
@@ -148,6 +148,10 @@ static const struct procfs_entry_s g_procfs_entries[] =
{ "fs/smartfs**", &smartfs_procfsoperations, PROCFS_UNKOWN_TYPE },
#endif
#if defined(CONFIG_MTD) && !defined(CONFIG_FS_PROCFS_EXCLUDE_MTD)
{ "mtd", &mtd_procfsoperations, PROCFS_FILE_TYPE },
#endif
#if defined(CONFIG_NET) && !defined(CONFIG_FS_PROCFS_EXCLUDE_NET)
{ "net", &net_procfsoperations, PROCFS_DIR_TYPE },
#if defined(CONFIG_NET_ROUTE) && !defined(CONFIG_FS_PROCFS_EXCLUDE_ROUTE)
@@ -157,10 +161,6 @@ static const struct procfs_entry_s g_procfs_entries[] =
{ "net/**", &net_procfsoperations, PROCFS_UNKOWN_TYPE },
#endif
#if defined(CONFIG_MTD) && !defined(CONFIG_FS_PROCFS_EXCLUDE_MTD)
{ "mtd", &mtd_procfsoperations, PROCFS_FILE_TYPE },
#endif
#if defined(CONFIG_MTD_PARTITION) && !defined(CONFIG_FS_PROCFS_EXCLUDE_PARTITIONS)
{ "partitions", &part_procfsoperations, PROCFS_FILE_TYPE },
#endif