hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h
....@@ -1,15 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /*
23 * Copyright (c) 2016 MediaTek Inc.
34 * Author: Tiffany Lin <tiffany.lin@mediatek.com>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
135 */
146
157 #ifndef _MTK_VCODEC_DEC_PM_H_
....@@ -20,7 +12,7 @@
2012 int mtk_vcodec_init_dec_pm(struct mtk_vcodec_dev *dev);
2113 void mtk_vcodec_release_dec_pm(struct mtk_vcodec_dev *dev);
2214
23
-void mtk_vcodec_dec_pw_on(struct mtk_vcodec_pm *pm);
15
+int mtk_vcodec_dec_pw_on(struct mtk_vcodec_pm *pm);
2416 void mtk_vcodec_dec_pw_off(struct mtk_vcodec_pm *pm);
2517 void mtk_vcodec_dec_clock_on(struct mtk_vcodec_pm *pm);
2618 void mtk_vcodec_dec_clock_off(struct mtk_vcodec_pm *pm);