| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2016 MediaTek Inc. |
|---|
| 3 | 4 | * Author: Andrew-CT Chen <andrew-ct.chen@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. |
|---|
| 13 | 5 | */ |
|---|
| 14 | 6 | |
|---|
| 15 | 7 | #ifndef _MTK_VPU_H |
|---|
| .. | .. |
|---|
| 23 | 15 | * VPU interfaces with other blocks by share memory and interrupt. |
|---|
| 24 | 16 | **/ |
|---|
| 25 | 17 | |
|---|
| 26 | | -typedef void (*ipi_handler_t) (void *data, |
|---|
| 18 | +typedef void (*ipi_handler_t) (const void *data, |
|---|
| 27 | 19 | unsigned int len, |
|---|
| 28 | 20 | void *priv); |
|---|
| 29 | 21 | |
|---|