Skip to content
Commit d4906688 authored by Arvind Yadav's avatar Arvind Yadav Committed by Richard Weinberger
Browse files

mtd: constify mtd_partition



mtd_partition are not supposed to change at runtime.
Functions 'mtd_device_parse_register' working with const mtd_partition
provided by <linux/mtd/mtd.h>. So mark the non-const structs as const.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 2e442aeb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment