iommu/omap: Make pagetable debugfs entry read-only
authorSuman Anna <s-anna@ti.com>
Wed, 22 Oct 2014 22:22:29 +0000 (17:22 -0500)
committerJoerg Roedel <jroedel@suse.de>
Thu, 23 Oct 2014 12:32:26 +0000 (14:32 +0200)
commit3ca5db072c770c950a816c46ef2330d9e0ced8a7
treeb5fabe8978ee6450cf7fc5e2384788225157a65e
parent68570a744631ab4f2d378c9d7ef794e66e623a81
iommu/omap: Make pagetable debugfs entry read-only

Remove the writeability on the 'pagetable' debugfs entry,
so that the mapping/unmapping into an OMAP IOMMU is only
limited to actual client devices/drivers at kernel-level.

Signed-off-by: Suman Anna <s-anna@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu-debug.c