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>
#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
};
#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, \
#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 */