]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: remove GUEST_PHYSICAL_ADDRESS from commontypes.h
authorBenjamin Romer <benjamin.romer@unisys.com>
Sun, 3 Aug 2014 02:03:40 +0000 (22:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:06 +0000 (12:23 -0700)
The typedef for GUEST_PHYSICAL address is only used in two files, so remove it
from commontypes.h and add it to visorchipset/file.c and controlvmchannel.h.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
drivers/staging/unisys/include/commontypes.h
drivers/staging/unisys/visorchipset/file.c

index 153f57ce908f9f7a25efb61b72b03709ea019d4a..7cdce23d05335e54a67f710fa2e209072f366c6d 100644 (file)
@@ -20,6 +20,9 @@
 #include "commontypes.h"
 #include "channel.h"
 #include "controlframework.h"
+
+typedef u64 GUEST_PHYSICAL_ADDRESS;
+
 enum { INVALID_GUEST_FIRMWARE, SAMPLE_GUEST_FIRMWARE,
            TIANO32_GUEST_FIRMWARE, TIANO64_GUEST_FIRMWARE
 };
index 2301984cde7d6c83f947f774a2df369c39e5867f..fab0c58f8a7625be30f60ddeecd5d93c20e87216 100644 (file)
@@ -25,8 +25,6 @@
 #include <linux/io.h>
 #include <linux/uuid.h>
 
-typedef u64 GUEST_PHYSICAL_ADDRESS;
-
 #define OFFSETOF offsetof
 
 #define CHANNEL_GUID_MISMATCH(chType, chName, field, expected, actual, fil, \
index bf2e546d76bf80a1dbc575df79d27c956c41a254..2f26de2fa8a4f42abf7517bd85d4f7a3748ff591 100644 (file)
@@ -28,6 +28,8 @@
 
 #define CURRENT_FILE_PC VISOR_CHIPSET_PC_file_c
 
+typedef u64 GUEST_PHYSICAL_ADDRESS;
+
 static struct cdev Cdev;
 static VISORCHANNEL **PControlVm_channel;
 static dev_t MajorDev = -1; /**< indicates major num for device */