From: Ezequiel Garcia Date: Wed, 18 Jul 2012 13:05:26 +0000 (-0300) Subject: cx25821: Remove bad strcpy to read-only char* X-Git-Tag: v3.5~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=380e99fc44d79bc35af9ff1d3316ef4027ce775e;p=pandora-kernel.git cx25821: Remove bad strcpy to read-only char* The strcpy was being used to set the name of the board. Since the destination char* was read-only and the name is set statically at compile time; this was both wrong and redundant. The type of char* is changed to const char* to prevent future errors. Reported-by: Radek Masin Signed-off-by: Ezequiel Garcia [ Taking directly due to vacations - Linus ] Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed