From: Artem Bityutskiy Date: Tue, 10 Jul 2012 13:35:50 +0000 (+0000) Subject: of: mtd: nuke useless const qualifier X-Git-Tag: v3.6-rc1~113^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e95d8aafa5d911bf523bc47fe89f3336eb8a1b51;p=pandora-kernel.git of: mtd: nuke useless const qualifier This patch does the following: -const int of_get_nand_ecc_mode(struct device_node *np) +int of_get_nand_ecc_mode(struct device_node *np) because: 1. it is probably just a typo? 2. it causes warnings like this when people assing the returned value to an 'int' variable: include/linux/of_mtd.h:14:18: warning: type qualifiers ignored on functi= on return type [-Wignored-qualifiers] Remove also the unnecessary "extern" qualifier to be consistent with other declarations in this file. Signed-off-by: Artem Bityutskiy Signed-off-by: Rob Herring --- Reading git-diff-tree failed