ARM: rockchip: rk3228: add grf definition
[firefly-linux-kernel-4.4.55.git] / include / video / adf_memblock.h
1 /*
2  * Copyright (C) 2013 Google, Inc.
3  *
4  * This software is licensed under the terms of the GNU General Public
5  * License version 2, as published by the Free Software Foundation, and
6  * may be copied, distributed, and modified under those terms.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  */
14
15 #ifndef _VIDEO_ADF_MEMBLOCK_H_
16 #define _VIDEO_ADF_MEMBLOCK_H_
17
18 struct dma_buf *adf_memblock_export(phys_addr_t base, size_t size, int flags);
19
20 #endif /* _VIDEO_ADF_MEMBLOCK_H_ */