.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * HDMI wrapper |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify it |
---|
7 | | - * under the terms of the GNU General Public License version 2 as published by |
---|
8 | | - * the Free Software Foundation. |
---|
9 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #define DSS_SUBSYS_NAME "HDMIWP" |
---|
.. | .. |
---|
131 | 128 | } |
---|
132 | 129 | |
---|
133 | 130 | void hdmi_wp_video_config_format(struct hdmi_wp_data *wp, |
---|
134 | | - struct hdmi_video_format *video_fmt) |
---|
| 131 | + const struct hdmi_video_format *video_fmt) |
---|
135 | 132 | { |
---|
136 | 133 | u32 l = 0; |
---|
137 | 134 | |
---|
.. | .. |
---|
144 | 141 | } |
---|
145 | 142 | |
---|
146 | 143 | void hdmi_wp_video_config_interface(struct hdmi_wp_data *wp, |
---|
147 | | - struct videomode *vm) |
---|
| 144 | + const struct videomode *vm) |
---|
148 | 145 | { |
---|
149 | 146 | u32 r; |
---|
150 | 147 | bool vsync_inv, hsync_inv; |
---|
.. | .. |
---|
164 | 161 | } |
---|
165 | 162 | |
---|
166 | 163 | void hdmi_wp_video_config_timing(struct hdmi_wp_data *wp, |
---|
167 | | - struct videomode *vm) |
---|
| 164 | + const struct videomode *vm) |
---|
168 | 165 | { |
---|
169 | 166 | u32 timing_h = 0; |
---|
170 | 167 | u32 timing_v = 0; |
---|
.. | .. |
---|
193 | 190 | } |
---|
194 | 191 | |
---|
195 | 192 | void hdmi_wp_init_vid_fmt_timings(struct hdmi_video_format *video_fmt, |
---|
196 | | - struct videomode *vm, struct hdmi_config *param) |
---|
| 193 | + struct videomode *vm, const struct hdmi_config *param) |
---|
197 | 194 | { |
---|
198 | 195 | DSSDBG("Enter hdmi_wp_video_init_format\n"); |
---|
199 | 196 | |
---|