]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[IA64] Use static const char * const in palinfo.c
authorJoe Perches <joe@perches.com>
Tue, 14 Sep 2010 04:23:48 +0000 (21:23 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 23 Sep 2010 21:22:05 +0000 (14:22 -0700)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/palinfo.c

index fdf6f9d013e5b3f8b5ed3145543ca9ac34b8180a..77597e5ea60aca9429f29c26ec7973bf89a19683 100644 (file)
@@ -434,7 +434,7 @@ register_info(char *page)
        unsigned long phys_stacked;
        pal_hints_u_t hints;
        unsigned long iregs, dregs;
-       char *info_type[]={
+       static const char * const info_type[] = {
                "Implemented AR(s)",
                "AR(s) with read side-effects",
                "Implemented CR(s)",