mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Suman Anna](/assets/img/avatar_default.png)
The structure omap_mmu_dev_attr was used in the hwmod data for supplying device-specific data through the .dev_attr field and used in constructing the platform data for legacy device creation. The legacy device creation of OMAP IOMMU devices has been cleaned up, and this structure is no longer needed, so remove it. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
39 lines
1.1 KiB
C
39 lines
1.1 KiB
C
/*
|
|
* omap iommu: main structures
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
#define MMU_REG_SIZE 256
|
|
|
|
/**
|
|
* struct iommu_arch_data - omap iommu private data
|
|
* @name: name of the iommu device
|
|
* @iommu_dev: handle of the iommu device
|
|
*
|
|
* This is an omap iommu private data object, which binds an iommu user
|
|
* to its iommu device. This object should be placed at the iommu user's
|
|
* dev_archdata so generic IOMMU API can be used without having to
|
|
* utilize omap-specific plumbing anymore.
|
|
*/
|
|
struct omap_iommu_arch_data {
|
|
const char *name;
|
|
struct omap_iommu *iommu_dev;
|
|
};
|
|
|
|
struct iommu_platform_data {
|
|
const char *name;
|
|
const char *reset_name;
|
|
int nr_tlb_entries;
|
|
|
|
int (*assert_reset)(struct platform_device *pdev, const char *name);
|
|
int (*deassert_reset)(struct platform_device *pdev, const char *name);
|
|
};
|