Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274888
b: refs/heads/master
c: 953b3bd
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 707c9fc commit 2494e0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3165f44bcd4b987cbcc694af739ab955b561e05b
refs/heads/master: 953b3bd1911260b8acd8f35fa26440c1a943e59a
2 changes: 2 additions & 0 deletions trunk/drivers/mtd/mtdpart.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,8 @@ static struct mtd_part_parser *get_partition_parser(const char *name)
return ret;
}

#define put_partition_parser(p) do { module_put((p)->owner); } while (0)

int register_mtd_parser(struct mtd_part_parser *p)
{
spin_lock(&part_parser_lock);
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/mtd/partitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ struct mtd_part_parser {
extern int register_mtd_parser(struct mtd_part_parser *parser);
extern int deregister_mtd_parser(struct mtd_part_parser *parser);

#define put_partition_parser(p) do { module_put((p)->owner); } while(0)

int mtd_is_partition(struct mtd_info *mtd);
int mtd_add_partition(struct mtd_info *master, char *name,
long long offset, long long length);
Expand Down

0 comments on commit 2494e0f

Please sign in to comment.