Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
/* struct memregion is an opaque structure to users.
* Fields are declared only in the implementation .c files.
*/
-struct memregion;
+struct memregion {
+ HOSTADDRESS physaddr;
+ ulong nbytes;
+ void __iomem *mapped;
+};
struct memregion *visor_memregion_create(HOSTADDRESS physaddr, ulong nbytes);
int visor_memregion_resize(struct memregion *memregion, ulong newsize);
#define MYDRVNAME "memregion"
-struct memregion {
- HOSTADDRESS physaddr;
- ulong nbytes;
- void __iomem *mapped;
-};
-
static int mapit(struct memregion *memregion);
static void unmapit(struct memregion *memregion);