From: Thomas Gleixner Date: Mon, 7 Nov 2005 00:52:27 +0000 (+0000) Subject: [MTD] maps/plat-ram: Avoid gcc 4.0 warning X-Git-Tag: v2.6.15-rc1~448^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e17404918b119813dfe8d7649df049a451c9e24;p=pandora-kernel.git [MTD] maps/plat-ram: Avoid gcc 4.0 warning The assignement of a "const char *" to a "char *" variable is emitting a warning with gcc 4.0. We cannot change mtd->name to "const char *" as we have dynamic assignements of the name. So casting is the correct solution here Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed