Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274772
b: refs/heads/master
c: 7578ca9
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 29fc1d9 commit 549ff79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 82e023ab4e144da7f83fe7e6c93a09be2f30ff07
refs/heads/master: 7578ca927b1a2a0445c9a3166d05462b9ffd4c06
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/mtdblock.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct mtdblk_dev {
enum { STATE_EMPTY, STATE_CLEAN, STATE_DIRTY } cache_state;
};

static struct mutex mtdblks_lock;
static DEFINE_MUTEX(mtdblks_lock);

/*
* Cache stuff...
Expand Down Expand Up @@ -389,8 +389,6 @@ static struct mtd_blktrans_ops mtdblock_tr = {

static int __init init_mtdblock(void)
{
mutex_init(&mtdblks_lock);

return register_mtd_blktrans(&mtdblock_tr);
}

Expand Down

0 comments on commit 549ff79

Please sign in to comment.