Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/char/hvc_vio: Use static const char arrays

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Joe Perches and committed by
Benjamin Herrenschmidt
5a71c61b 56e640de

+1 -1
+1 -1
drivers/char/hvc_vio.c
··· 39 39 40 40 #include "hvc_console.h" 41 41 42 - char hvc_driver_name[] = "hvc_console"; 42 + static const char hvc_driver_name[] = "hvc_console"; 43 43 44 44 static struct vio_device_id hvc_driver_table[] __devinitdata = { 45 45 {"serial", "hvterm1"},