From: Grant Likely Date: Thu, 29 Nov 2012 16:35:41 +0000 (+0000) Subject: powerpc: Fix fallout from device_node->name constification X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~89^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=499b42c3e4ca08f0de27683f31d3b8d5afd2a720;p=pandora-kernel.git powerpc: Fix fallout from device_node->name constification Commit c22618a1, "drivers/of: Constify device_node->name and ->path_component_name" changes device_node name to a const value, but the PowerPC scom code still assigns it to a non-void field in debugfs_blob_wrapper. The /right/ solution might be to change the debugfs_blob_wrapper->data to also be const, but that is a bit risky. Instead, cast the value to (void*). It is a bit ugly, but it is the safest change until it can be investigated where debugfs_blob_wrapper can be modified. Reported-by: Michael Neuling Cc: Benjamin Herrenschmidt Signed-off-by: Grant Likely --- Reading git-diff-tree failed