| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* 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. |
|---|
| 11 | 3 | */ |
|---|
| 12 | 4 | |
|---|
| 13 | 5 | #ifndef _DPU_HW_BLK_H |
|---|
| .. | .. |
|---|
| 44 | 36 | struct dpu_hw_blk_ops ops; |
|---|
| 45 | 37 | }; |
|---|
| 46 | 38 | |
|---|
| 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, |
|---|
| 48 | 40 | struct dpu_hw_blk_ops *ops); |
|---|
| 49 | 41 | void dpu_hw_blk_destroy(struct dpu_hw_blk *hw_blk); |
|---|
| 50 | 42 | |
|---|