forked from Minki/linux
staging: unisys: memregion: move struct memregion to memregion.h
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>
This commit is contained in:
parent
213e6a6132
commit
81c7492db0
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user