Merge tag 'spi-fix-v4.19-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6/btrfs-unstable.git] / include / linux / omap-iommu.h
blobce1b7c6283eecdfd1d4d7943a34dd60dd70eb93f
1 /*
2 * omap iommu: simple virtual address space management
4 * Copyright (C) 2008-2009 Nokia Corporation
6 * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef _OMAP_IOMMU_H_
14 #define _OMAP_IOMMU_H_
16 #ifdef CONFIG_OMAP_IOMMU
17 extern void omap_iommu_save_ctx(struct device *dev);
18 extern void omap_iommu_restore_ctx(struct device *dev);
19 #else
20 static inline void omap_iommu_save_ctx(struct device *dev) {}
21 static inline void omap_iommu_restore_ctx(struct device *dev) {}
22 #endif
24 #endif