Commit 14ec1cf4 authored by Jani Nikula's avatar Jani Nikula Committed by Greg Kroah-Hartman
Browse files
parent f188ee38
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ struct detailed_mode_closure {
#define LEVEL_GTF2	2
#define LEVEL_CVT	3

static struct edid_quirk {
static const struct edid_quirk {
	char vendor[4];
	int product_id;
	u32 quirks;
@@ -1449,7 +1449,7 @@ EXPORT_SYMBOL(drm_edid_duplicate);
 *
 * 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];

@@ -1469,7 +1469,7 @@ static bool edid_vendor(struct edid *edid, char *vendor)
 */
static u32 edid_get_quirks(struct edid *edid)
{
	struct edid_quirk *quirk;
	const struct edid_quirk *quirk;
	int i;

	for (i = 0; i < ARRAY_SIZE(edid_quirk_list); i++) {