Commit 23c4cfbd authored by Jani Nikula's avatar Jani Nikula
parent 4541d31e
...@@ -91,7 +91,7 @@ struct detailed_mode_closure { ...@@ -91,7 +91,7 @@ struct detailed_mode_closure {
#define LEVEL_GTF2 2 #define LEVEL_GTF2 2
#define LEVEL_CVT 3 #define LEVEL_CVT 3
static struct edid_quirk { static const struct edid_quirk {
char vendor[4]; char vendor[4];
int product_id; int product_id;
u32 quirks; u32 quirks;
...@@ -1478,7 +1478,7 @@ EXPORT_SYMBOL(drm_edid_duplicate); ...@@ -1478,7 +1478,7 @@ EXPORT_SYMBOL(drm_edid_duplicate);
* *
* Returns true if @vendor is in @edid, false otherwise * Returns true if @vendor is in @edid, false otherwise
*/ */
static bool edid_vendor(struct edid *edid, char *vendor) static bool edid_vendor(struct edid *edid, const char *vendor)
{ {
char edid_vendor[3]; char edid_vendor[3];
...@@ -1498,7 +1498,7 @@ static bool edid_vendor(struct edid *edid, char *vendor) ...@@ -1498,7 +1498,7 @@ static bool edid_vendor(struct edid *edid, char *vendor)
*/ */
static u32 edid_get_quirks(struct edid *edid) static u32 edid_get_quirks(struct edid *edid)
{ {
struct edid_quirk *quirk; const struct edid_quirk *quirk;
int i; int i;
for (i = 0; i < ARRAY_SIZE(edid_quirk_list); i++) { for (i = 0; i < ARRAY_SIZE(edid_quirk_list); i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment