diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-06-23 07:26:14 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 08:02:13 -0400 |
commit | 953b3bd1911260b8acd8f35fa26440c1a943e59a (patch) | |
tree | 5ba0406f0a4c0ea47b7cc1b0c85b6c35565dbf46 /include/linux | |
parent | 3165f44bcd4b987cbcc694af739ab955b561e05b (diff) |
mtd: remove put_partition_parser() from public header
There is no need to pollute public header with a definition private
to mtdpart.c. Move it from mtd/partitions.h to mtdpart.c
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/partitions.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h index c98d6b858c2c..2475228c1158 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h | |||
@@ -79,8 +79,6 @@ struct mtd_part_parser { | |||
79 | extern int register_mtd_parser(struct mtd_part_parser *parser); | 79 | extern int register_mtd_parser(struct mtd_part_parser *parser); |
80 | extern int deregister_mtd_parser(struct mtd_part_parser *parser); | 80 | extern int deregister_mtd_parser(struct mtd_part_parser *parser); |
81 | 81 | ||
82 | #define put_partition_parser(p) do { module_put((p)->owner); } while(0) | ||
83 | |||
84 | int mtd_is_partition(struct mtd_info *mtd); | 82 | int mtd_is_partition(struct mtd_info *mtd); |
85 | int mtd_add_partition(struct mtd_info *master, char *name, | 83 | int mtd_add_partition(struct mtd_info *master, char *name, |
86 | long long offset, long long length); | 84 | long long offset, long long length); |