hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_blk.h
....@@ -1,13 +1,5 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
2
- *
3
- * This program is free software; you can redistribute it and/or modify
4
- * it under the terms of the GNU General Public License version 2 and
5
- * only version 2 as published by the Free Software Foundation.
6
- *
7
- * This program is distributed in the hope that it will be useful,
8
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
- * GNU General Public License for more details.
113 */
124
135 #ifndef _DPU_HW_BLK_H
....@@ -44,7 +36,7 @@
4436 struct dpu_hw_blk_ops ops;
4537 };
4638
47
-int dpu_hw_blk_init(struct dpu_hw_blk *hw_blk, u32 type, int id,
39
+void dpu_hw_blk_init(struct dpu_hw_blk *hw_blk, u32 type, int id,
4840 struct dpu_hw_blk_ops *ops);
4941 void dpu_hw_blk_destroy(struct dpu_hw_blk *hw_blk);
5042