Re: [PATCH] of: add 'const' to of_node_full_name parameter

2012-12-19 Thread Grant Likely
On Tue, 18 Dec 2012 11:32:03 +0100, Steffen Trumtrar s.trumt...@pengutronix.de wrote: As the function just returns the np-full_name or the string no-node, the passed device_node pointer is not changed in any way. The passed parameter can therefore be a const pointer. Also, fix the

[PATCH] of: add 'const' to of_node_full_name parameter

2012-12-18 Thread Steffen Trumtrar
As the function just returns the np-full_name or the string no-node, 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*