]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[MTD] maps/plat-ram: Avoid gcc 4.0 warning
authorThomas Gleixner <tglx@linutronix.de>
Mon, 7 Nov 2005 00:52:27 +0000 (00:52 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 7 Nov 2005 01:28:05 +0000 (02:28 +0100)
commit3e17404918b119813dfe8d7649df049a451c9e24
tree7f2ac614c3e8bf37bc4ce42f9790ed42a1d09189
parent868801e561d5d6df40a66197e2f803a109c19e7a
[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 <tglx@linutronix.de>
drivers/mtd/maps/plat-ram.c