diff options
author | Roman Tereshonkov <roman.tereshonkov@nokia.com> | 2010-11-23 13:17:17 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-12-03 17:32:35 +0100 |
commit | a7e93dcd9aacb3ef4acfcc4310577f3ae0741821 (patch) | |
tree | 56a02838448545b45d9fed28a87df591e1f57a17 /drivers/video/riva | |
parent | mtd: nand: add check for out of page read (diff) | |
download | linux-a7e93dcd9aacb3ef4acfcc4310577f3ae0741821.tar.xz linux-a7e93dcd9aacb3ef4acfcc4310577f3ae0741821.zip |
mtd: fix master device identification for mtd repartition
Function mtd_has_master renamed as mtd_is_partition to follow the function logic.
The patch fixes the problem of checking the right mtd device for partition creation.
To delete partition checking is not needed here so as it is done in mtd_del_partition.
By master we consider the mtd device which does not belong to any partition.
Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/video/riva')
0 files changed, 0 insertions, 0 deletions