mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
![Mauro Carvalho Chehab](/assets/img/avatar_default.png)
Drivers that depend on omap-iommu.h (currently, just omap3isp) need a stub implementation in order to be built with COMPILE_TEST. Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
24 lines
685 B
C
24 lines
685 B
C
/*
|
|
* omap iommu: simple virtual address space management
|
|
*
|
|
* Copyright (C) 2008-2009 Nokia Corporation
|
|
*
|
|
* Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _OMAP_IOMMU_H_
|
|
#define _OMAP_IOMMU_H_
|
|
|
|
#ifdef CONFIG_OMAP_IOMMU
|
|
extern void omap_iommu_save_ctx(struct device *dev);
|
|
extern void omap_iommu_restore_ctx(struct device *dev);
|
|
#else
|
|
static inline void omap_iommu_save_ctx(struct device *dev) {}
|
|
static inline void omap_iommu_restore_ctx(struct device *dev) {}
|
|
#endif
|
|
|
|
#endif
|