summaryrefslogtreecommitdiff
path: root/drivers/staging/android/ion/mxc/mxc_ion.h
blob: c8e1e892e2cddd5b9bf05cf44da4c1b8008e2f5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * drivers/gpu/mxc/mxc_ion.h
 *
 * Copyright (C) 2011 Google, Inc.
 * Copyright (C) 2012-2014 Freescale Semiconductor, Inc.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _LINUX_MXC_ION_H
#define _LINUX_MXC_ION_H

#include "../ion.h"

struct ion_phys_data {
	ion_user_handle_t handle;
	unsigned long phys;
};

#define ION_IOC_PHYS   _IOWR(ION_IOC_MAGIC, 7, struct ion_phys_data)

#endif