hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.h
....@@ -1,17 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2017 The Linux Foundation. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms of the GNU General Public License version 2 as published by
6
- * the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * You should have received a copy of the GNU General Public License along with
14
- * this program. If not, see <http://www.gnu.org/licenses/>.
154 */
165
176 #ifndef __MDP5_LM_H__
....@@ -41,7 +30,7 @@
4130 int mdp5_mixer_assign(struct drm_atomic_state *s, struct drm_crtc *crtc,
4231 uint32_t caps, struct mdp5_hw_mixer **mixer,
4332 struct mdp5_hw_mixer **r_mixer);
44
-void mdp5_mixer_release(struct drm_atomic_state *s,
45
- struct mdp5_hw_mixer *mixer);
33
+int mdp5_mixer_release(struct drm_atomic_state *s,
34
+ struct mdp5_hw_mixer *mixer);
4635
4736 #endif /* __MDP5_LM_H__ */