Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93024
b: refs/heads/master
c: 5ce45d5
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and David Woodhouse committed Apr 22, 2008
1 parent c29e25b commit 4662d1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: ed262c4f5cb8291668c27c88a022bd7628f067a4
refs/heads/master: 5ce45d50056e20aca50f19229d8a7e003569ad26
6 changes: 2 additions & 4 deletions trunk/drivers/mtd/ftl.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ typedef struct partition_t {
#endif
} partition_t;

void ftl_freepart(partition_t *part);

/* Partition state flags */
#define FTL_FORMATTED 0x01

Expand Down Expand Up @@ -1014,7 +1012,7 @@ static int ftl_writesect(struct mtd_blktrans_dev *dev,

/*====================================================================*/

void ftl_freepart(partition_t *part)
static void ftl_freepart(partition_t *part)
{
vfree(part->VirtualBlockMap);
part->VirtualBlockMap = NULL;
Expand Down Expand Up @@ -1069,7 +1067,7 @@ static void ftl_remove_dev(struct mtd_blktrans_dev *dev)
kfree(dev);
}

struct mtd_blktrans_ops ftl_tr = {
static struct mtd_blktrans_ops ftl_tr = {
.name = "ftl",
.major = FTL_MAJOR,
.part_bits = PART_BITS,
Expand Down

0 comments on commit 4662d1f

Please sign in to comment.