Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27871
b: refs/heads/master
c: d470a97
h: refs/heads/master
i:
  27869: 808d635
  27867: 4aab30f
  27863: 10026a5
  27855: c3a9352
  27839: 08a2333
v: v3
  • Loading branch information
Thomas Gleixner committed May 23, 2006
1 parent bb516c9 commit fd4cedf
Show file tree
Hide file tree
Showing 2 changed files with 7 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: cad74f2c380411ae7bee997f3ba18834cfe313a2
refs/heads/master: d470a97c70a43ffafd6e728c913254b6d6fd1219
8 changes: 6 additions & 2 deletions trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ static int nand_verify_pages(struct mtd_info *mtd, struct nand_chip *this,
static int nand_get_device(struct nand_chip *this, struct mtd_info *mtd,
int new_state);

/*
* For devices which display every fart in the system on a seperate LED. Is
* compiled away when LED support is disabled.
*/
DEFINE_LED_TRIGGER(nand_led_trigger);

/**
* nand_release_device - [GENERIC] release chip
* @mtd: MTD device structure
Expand Down Expand Up @@ -476,8 +482,6 @@ static int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
return nand_isbad_bbt(mtd, ofs, allowbbt);
}

DEFINE_LED_TRIGGER(nand_led_trigger);

/*
* Wait for the ready pin, after a command
* The timeout is catched later.
Expand Down

0 comments on commit fd4cedf

Please sign in to comment.