aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/device.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2012-03-05 06:49:29 -0500
committerCatalin Marinas <catalin.marinas@arm.com>2012-09-17 08:42:04 -0400
commitfc47897d2c65bc94b6868a5c914afbd33216e26f (patch)
tree0926daf682eba58fe67995d7b3c7c1bc65ea58e9 /arch/arm64/include/asm/device.h
parent6170a97460dbda12686bef0dec65ce2d59867f9e (diff)
arm64: Device specific operations
This patch adds several definitions for device communication, including I/O accessors and ioremap(). The __raw_* accessors are implemented as inline asm to avoid compiler generation of post-indexed accesses (less efficient to emulate in a virtualised environment). Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Olof Johansson <olof@lixom.net> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm64/include/asm/device.h')
-rw-r--r--arch/arm64/include/asm/device.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/device.h b/arch/arm64/include/asm/device.h
new file mode 100644
index 000000000000..0d8453c755a8
--- /dev/null
+++ b/arch/arm64/include/asm/device.h
@@ -0,0 +1,26 @@
1/*
2 * Copyright (C) 2012 ARM Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
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 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#ifndef __ASM_DEVICE_H
17#define __ASM_DEVICE_H
18
19struct dev_archdata {
20 struct dma_map_ops *dma_ops;
21};
22
23struct pdev_archdata {
24};
25
26#endif