| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2016, The Linux Foundation. All rights reserved. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 and |
|---|
| 6 | | - * only version 2 as published by the Free Software Foundation. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 11 | | - * GNU General Public License for more details. |
|---|
| 12 | 4 | */ |
|---|
| 13 | 5 | |
|---|
| 14 | 6 | #include <linux/of_graph.h> |
|---|
| .. | .. |
|---|
| 108 | 100 | regmap_write(adv->regmap_cec, 0x27, 0x0b); |
|---|
| 109 | 101 | } |
|---|
| 110 | 102 | |
|---|
| 111 | | -void adv7533_mode_set(struct adv7511 *adv, struct drm_display_mode *mode) |
|---|
| 103 | +void adv7533_mode_set(struct adv7511 *adv, const struct drm_display_mode *mode) |
|---|
| 112 | 104 | { |
|---|
| 113 | 105 | struct mipi_dsi_device *dsi = adv->dsi; |
|---|
| 114 | 106 | int lanes, ret; |
|---|