Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252548
b: refs/heads/master
c: c4a5522
h: refs/heads/master
v: v3
  • Loading branch information
Jamie Iles authored and David Woodhouse committed May 25, 2011
1 parent 88754e3 commit 7d5d3f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 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: 99335d0002439b92917512dd8baeff60f774809f
refs/heads/master: c4a5522020ab3842880359aaae4464f08dcc74d5
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ config MTD_NAND_EDB7312

config MTD_NAND_H1900
tristate "iPAQ H1900 flash"
depends on ARCH_PXA && MTD_PARTITIONS
depends on ARCH_PXA
help
This enables the driver for the iPAQ h1900 flash.

Expand Down
5 changes: 1 addition & 4 deletions trunk/drivers/mtd/nand/h1910.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ static struct mtd_info *h1910_nand_mtd = NULL;
* Module stuff
*/

#ifdef CONFIG_MTD_PARTITIONS
/*
* Define static partitions for flash device
*/
Expand All @@ -50,8 +49,6 @@ static struct mtd_partition partition_info[] = {

#define NUM_PARTITIONS 1

#endif

/*
* hardware specific access to control-lines
*
Expand Down Expand Up @@ -154,7 +151,7 @@ static int __init h1910_init(void)

/* Register the partitions */
printk(KERN_NOTICE "Using %s partition definition\n", part_type);
add_mtd_partitions(h1910_nand_mtd, mtd_parts, mtd_parts_nb);
mtd_device_register(h1910_nand_mtd, mtd_parts, mtd_parts_nb);

/* Return happy */
return 0;
Expand Down

0 comments on commit 7d5d3f5

Please sign in to comment.