diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-01-06 01:29:28 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-01-06 01:29:28 +0000 |
commit | bbcffeebb0e4b33f0a20fa73699fdd21c98391ce (patch) | |
tree | 69d7da22bde7d43f6de438fbab3658d0a48a1861 /packages/linux/mainstone-kernel/flash-unlock.patch | |
parent | 3344d43f7614643796b97340e567e6eb712c3026 (diff) | |
parent | 169379dfeb17cd0e926e6a5760a012cc295ef4db (diff) |
merge of '15ad25c2df41e72ad281610da11230b4d0c9bd20'
and '5bfb1624d0726e9c07b5b20f7ecccb236fee357c'
Diffstat (limited to 'packages/linux/mainstone-kernel/flash-unlock.patch')
-rw-r--r-- | packages/linux/mainstone-kernel/flash-unlock.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/linux/mainstone-kernel/flash-unlock.patch b/packages/linux/mainstone-kernel/flash-unlock.patch new file mode 100644 index 0000000000..31f3f38e34 --- /dev/null +++ b/packages/linux/mainstone-kernel/flash-unlock.patch @@ -0,0 +1,14 @@ +--- drivers/mtd/maps/mainstone-flash.c~ 2008-01-05 01:15:54.000000000 +0100 ++++ drivers/mtd/maps/mainstone-flash.c 2008-01-05 01:15:54.000000000 +0100 +@@ -125,6 +125,11 @@ + continue; + } + mymtds[i]->owner = THIS_MODULE; ++ ++ /* Unlock the flash device. */ ++ if (mymtds[i]->unlock) ++ mymtds[i]->unlock(mymtds[i], 0, mymtds[i]->size); ++ + + ret = parse_mtd_partitions(mymtds[i], probes, + &parsed_parts[i], 0); |