mtd: make pagetest work
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 27 Nov 2009 14:58:08 +0000 (16:58 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 10:02:41 +0000 (10:02 +0000)
commit4c2b8a62bb0e35f2db0f713b4101b265be7fa985
treea54fe210dd515ea52cfd8bb18efb704623bbd373
parentdaa0f15a8dc6ef81655c7853f84a3670be7d144a
mtd: make pagetest work

The mtd_pagetest test did not initialize the pgsize variable, which
basically means it did not work. This problem was reported by
Török Edwin <edwintorok@gmail.com>

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/tests/mtd_pagetest.c