Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153768
b: refs/heads/master
c: 4704a78
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and David Woodhouse committed May 26, 2009
1 parent 9b6acd5 commit 6ecb3a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: ccd93854d44710adaa02cecf0ef5f24ab383dd20
refs/heads/master: 4704a78472cd5c58f6b4c4f8c04d32de2da3f20a
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/mtdpart.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ static struct mtd_part *add_one_partition(struct mtd_info *master,
slave->mtd.get_fact_prot_info = part_get_fact_prot_info;
if (master->sync)
slave->mtd.sync = part_sync;
if (!partno && master->suspend && master->resume) {
if (!partno && !master->dev.class && master->suspend && master->resume) {
slave->mtd.suspend = part_suspend;
slave->mtd.resume = part_resume;
}
Expand Down

0 comments on commit 6ecb3a5

Please sign in to comment.