]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - include/linux/omap-iommu.h
Merge branch 'drm-fixes-4.20' of git://people.freedesktop.org/~agd5f/linux into drm...
[mirror_ubuntu-eoan-kernel.git] / include / linux / omap-iommu.h
CommitLineData
c8d35c84
TL
1/*
2 * omap iommu: simple virtual address space management
3 *
4 * Copyright (C) 2008-2009 Nokia Corporation
5 *
6 * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
7 *
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.
11 */
12
baaa7b5d
LP
13#ifndef _OMAP_IOMMU_H_
14#define _OMAP_IOMMU_H_
c8d35c84 15
c7f1770f 16#ifdef CONFIG_OMAP_IOMMU
c8d35c84
TL
17extern void omap_iommu_save_ctx(struct device *dev);
18extern void omap_iommu_restore_ctx(struct device *dev);
c7f1770f
MCC
19#else
20static inline void omap_iommu_save_ctx(struct device *dev) {}
21static inline void omap_iommu_restore_ctx(struct device *dev) {}
22#endif
c8d35c84
TL
23
24#endif