Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329064
b: refs/heads/master
c: 5dee467
h: refs/heads/master
v: v3
  • Loading branch information
Richard Genoud authored and Artem Bityutskiy committed Sep 4, 2012
1 parent 310e242 commit 0f611bc
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: 3419cc303f643e3445be954e5590cc0e71c5c461
refs/heads/master: 5dee4674c8dd4398f4806aae153888319c7e2be9
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/mtdpart.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ int parse_mtd_partitions(struct mtd_info *master, const char **types,
return ret;
}

int mtd_is_partition(struct mtd_info *mtd)
int mtd_is_partition(const struct mtd_info *mtd)
{
struct mtd_part *part;
int ispart = 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/mtd/partitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ struct mtd_part_parser {
extern int register_mtd_parser(struct mtd_part_parser *parser);
extern int deregister_mtd_parser(struct mtd_part_parser *parser);

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

0 comments on commit 0f611bc

Please sign in to comment.