iommu/omap: Move debugfs functions to omap-iommu-debug.c
authorSuman Anna <s-anna@ti.com>
Mon, 20 Jul 2015 22:33:25 +0000 (17:33 -0500)
committerJoerg Roedel <jroedel@suse.de>
Mon, 3 Aug 2015 14:03:50 +0000 (16:03 +0200)
commit69c2c196328e73d3091dd0be89ab4b0c2af4b210
treec21d4ad5f728285d59a8207a19d61df0bdc71e91
parent0cdbf727167a2fcc9ba2aaea98e2a76124ba072e
iommu/omap: Move debugfs functions to omap-iommu-debug.c

The main OMAP IOMMU driver file has some helper functions used
by the OMAP IOMMU debugfs functionality, and there is already a
dedicated source file omap-iommu-debug.c dealing with these debugfs
routines. Move all these functions to the omap-iommu-debug.c file,
so that all the debugfs related routines are in one place.

The move required exposing some new functions and moving some
definitions to the internal omap-iommu.h header file.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu-debug.c
drivers/iommu/omap-iommu.c
drivers/iommu/omap-iommu.h