Commit 81c7492d authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: unisys: memregion: move struct memregion to memregion.h

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 213e6a61
......@@ -23,7 +23,11 @@
/* 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);
......
......@@ -25,12 +25,6 @@
#define MYDRVNAME "memregion"
struct memregion {
HOSTADDRESS physaddr;
ulong nbytes;
void __iomem *mapped;
};
static int mapit(struct memregion *memregion);
static void unmapit(struct memregion *memregion);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment