From: Steffen Trumtrar Date: Tue, 18 Dec 2012 10:32:03 +0000 (+0100) Subject: of: add 'const' to of_node_full_name parameter X-Git-Tag: v3.9-rc1~147^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0a05bf0182efdf7cd1fd8aa327e7a602360b67e;p=pandora-kernel.git of: add 'const' to of_node_full_name parameter As the function just returns the np->full_name or the string "", the passed device_node pointer is not changed in any way. The passed parameter can therefore be a const pointer. Also, fix the following error from checkpatch.pl: ERROR: "foo* bar" should be "foo *bar" +static inline const char* of_node_full_name(const struct device_node *np) Signed-off-by: Steffen Trumtrar Signed-off-by: Grant Likely --- Reading git-diff-tree failed