diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-25 19:17:00 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-26 19:15:17 +0200 |
commit | d1f3dd6cc00f5bf744118fb2820ecdf09a1f4b73 (patch) | |
tree | 48663606422eda9245c3a53f1437f9c4458b8aa7 /ipc | |
parent | 783b273afab43437dca731a229d53d72faf77fd3 (diff) | |
download | kernel_samsung_tuna-d1f3dd6cc00f5bf744118fb2820ecdf09a1f4b73.zip kernel_samsung_tuna-d1f3dd6cc00f5bf744118fb2820ecdf09a1f4b73.tar.gz kernel_samsung_tuna-d1f3dd6cc00f5bf744118fb2820ecdf09a1f4b73.tar.bz2 |
UBI: fix mtd device string parsing
UBI allows to specify MTD device name or number when the module is being
loaded. When parsing MTD device identity string, it first tries to treat
it as device NAME, and if that fails, it treats it as device number.
Make it vice-versa as this is more logical and makes less troubles when
you have an MTD device named "1" and try to load mtd1 which has different
name. This is especially easy to hit when gluebi is enabled.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions