aboutsummaryrefslogtreecommitdiff
path: root/Documentation/timers
diff options
context:
space:
mode:
authorBaruch Siach2012-12-23 13:10:50 +0200
committerDavid Woodhouse2013-01-19 09:53:45 +0000
commit7dfe4be351e81656ca1068e5d4ead235c7ba94b1 (patch)
tree51132c9ee6056306f3c00e4991be325ee8066c9a /Documentation/timers
parentbf65aaa637cabae0386fe46b1ad5cd16997474f5 (diff)
mtd: physmap_of: fix cmdline partition method w/o linux, mtd-name
Commit d68cbdd4fb (mtd: physmap_of: allow to specify the mtd name for retro compatiblity) broke cmdline partitioning using dev_name() in the kernel command line. of_property_read_string() does not touch mtd_name when linux,mtd-name is not present in the device tree, which causes map.name to be set to a random value. Fix this by initializing mtd_name to NULL. Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'Documentation/timers')
0 files changed, 0 insertions, 0 deletions