@@ -37,7 +37,7 @@
#include "intel_sdvo_regs.h"
#include <linux/dmi.h>
-static char *tv_format_names[] = {
+static const char *tv_format_names[] = {
"NTSC_M" , "NTSC_J" , "NTSC_443",
"PAL_B" , "PAL_D" , "PAL_G" ,
"PAL_H" , "PAL_I" , "PAL_M" ,
@@ -83,10 +83,10 @@ struct intel_sdvo_priv {
bool is_tv;
/* This is for current tv format name */
- char *tv_format_name;
+ const char *tv_format_name;
/* This contains all current supported TV format */
- char *tv_format_supported[TV_FORMAT_NUM];
+ const char *tv_format_supported[TV_FORMAT_NUM];
int format_supported_num;
struct drm_property *tv_format_property;
struct drm_property *tv_format_name_property[TV_FORMAT_NUM];