summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/vbuschannel.h
diff options
context:
space:
mode:
authorAndy Shevchenko2017-08-22 19:26:54 +0200
committerGreg Kroah-Hartman2017-08-22 23:56:03 +0200
commitb32c5cb84fd0c4539227b5973d378111e35bd9c5 (patch)
treebe8c4167091ae343df6ac44c71298edfc699b8dd /drivers/staging/unisys/visorbus/vbuschannel.h
parentstaging: unisys: visorbus: Adding a new line between function definition (diff)
downloadkernel-qcow2-linux-b32c5cb84fd0c4539227b5973d378111e35bd9c5.tar.gz
kernel-qcow2-linux-b32c5cb84fd0c4539227b5973d378111e35bd9c5.tar.xz
kernel-qcow2-linux-b32c5cb84fd0c4539227b5973d378111e35bd9c5.zip
staging: unisys: Switch to use new generic UUID API
There are new types and helpers that are supposed to be used in new code. As a preparation to get rid of legacy types and API functions do the conversion here. While here, re-indent couple of lines to increase readability. Cc: David Kershner <david.kershner@unisys.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: sparmaintainer@unisys.com Cc: devel@driverdev.osuosl.org Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/vbuschannel.h')
-rw-r--r--drivers/staging/unisys/visorbus/vbuschannel.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/staging/unisys/visorbus/vbuschannel.h b/drivers/staging/unisys/visorbus/vbuschannel.h
index 2c820e21f1b7..61e38bd87373 100644
--- a/drivers/staging/unisys/visorbus/vbuschannel.h
+++ b/drivers/staging/unisys/visorbus/vbuschannel.h
@@ -30,9 +30,9 @@
#include "channel.h"
/* {193b331b-c58f-11da-95a9-00e08161165f} */
-#define VISOR_VBUS_CHANNEL_UUID \
- UUID_LE(0x193b331b, 0xc58f, 0x11da, \
- 0x95, 0xa9, 0x0, 0xe0, 0x81, 0x61, 0x16, 0x5f)
+#define VISOR_VBUS_CHANNEL_GUID \
+ GUID_INIT(0x193b331b, 0xc58f, 0x11da, \
+ 0x95, 0xa9, 0x0, 0xe0, 0x81, 0x61, 0x16, 0x5f)
/*
* Must increment this whenever you insert or delete fields within this channel
@@ -43,8 +43,6 @@
*/
#define VISOR_VBUS_CHANNEL_VERSIONID 1
-static const uuid_le visor_vbus_channel_uuid = VISOR_VBUS_CHANNEL_UUID;
-
/* struct visor_vbus_deviceinfo
* @devtype: Short string identifying the device type.
* @drvname: Driver .sys file name.