summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/shmobile-ipmmu.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-12-04 16:58:56 +0100
committerJoerg Roedel <jroedel@suse.de>2015-12-14 15:55:57 +0100
commitae50dc4874c5b73dfefeb1d5a9c1adf2c41576fd (patch)
treeec2c79375fe8fd3c970af9f3e4bdff19c7b19985 /drivers/iommu/shmobile-ipmmu.h
parent9f9499ae8e6415cefc4fe0a96ad0e27864353c89 (diff)
downloadlinux-stable-ae50dc4874c5b73dfefeb1d5a9c1adf2c41576fd.tar.gz
linux-stable-ae50dc4874c5b73dfefeb1d5a9c1adf2c41576fd.tar.bz2
linux-stable-ae50dc4874c5b73dfefeb1d5a9c1adf2c41576fd.zip
iommu/shmobile: Remove unused Renesas IPMMU/IPMMUI driver
As of commit 44d88c754e57a6d9 ("ARM: shmobile: Remove legacy SoC code for R-Mobile A1"), the Renesas IPMMU/IPMMUI driver is no longer used. In theory it could still be used on SH-Mobile AG5 and R-Mobile A1 SoCs, but that requires adding DT support to the driver, which is not planned. Remove the driver, it can be resurrected from git history when needed. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/shmobile-ipmmu.h')
-rw-r--r--drivers/iommu/shmobile-ipmmu.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/iommu/shmobile-ipmmu.h b/drivers/iommu/shmobile-ipmmu.h
deleted file mode 100644
index 9524743ca1fb..000000000000
--- a/drivers/iommu/shmobile-ipmmu.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/* shmobile-ipmmu.h
- *
- * Copyright (C) 2012 Hideki EIRAKU
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- */
-
-#ifndef __SHMOBILE_IPMMU_H__
-#define __SHMOBILE_IPMMU_H__
-
-struct shmobile_ipmmu {
- struct device *dev;
- void __iomem *ipmmu_base;
- int tlb_enabled;
- spinlock_t flush_lock;
- const char * const *dev_names;
- unsigned int num_dev_names;
-};
-
-#ifdef CONFIG_SHMOBILE_IPMMU_TLB
-void ipmmu_tlb_flush(struct shmobile_ipmmu *ipmmu);
-void ipmmu_tlb_set(struct shmobile_ipmmu *ipmmu, unsigned long phys, int size,
- int asid);
-int ipmmu_iommu_init(struct shmobile_ipmmu *ipmmu);
-#else
-static inline int ipmmu_iommu_init(struct shmobile_ipmmu *ipmmu)
-{
- return -EINVAL;
-}
-#endif
-
-#endif /* __SHMOBILE_IPMMU_H__ */