staging: unisys: visorbus: renamed #define in visorchannel.c to match driver namespace
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Fri, 19 May 2017 20:17:46 +0000 (16:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 16:53:13 +0000 (18:53 +0200)
Renamed SPAR_CONSOLEVIDEO_CHANNEL_PROTOCOL_GUID to
VISOR_CONSOLEVIDEO_CHANNEL_GUID and renamed const
spar_video_guid to visor_video_guid

Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchannel.c

index 9e1cea2..6885c2c 100644 (file)
 
 #define MYDRVNAME "visorchannel"
 
-#define SPAR_CONSOLEVIDEO_CHANNEL_PROTOCOL_GUID \
+#define VISOR_CONSOLEVIDEO_CHANNEL_GUID \
        UUID_LE(0x3cd6e705, 0xd6a2, 0x4aa5, \
                0xad, 0x5c, 0x7b, 0x8, 0x88, 0x9d, 0xff, 0xe2)
 
-static const uuid_le spar_video_guid = SPAR_CONSOLEVIDEO_CHANNEL_PROTOCOL_GUID;
+static const uuid_le visor_video_guid = VISOR_CONSOLEVIDEO_CHANNEL_GUID;
 
 struct visorchannel {
        u64 physaddr;
@@ -415,7 +415,7 @@ visorchannel_create_guts(u64 physaddr, unsigned long channel_bytes,
         * release later on.
         */
        channel->requested = request_mem_region(physaddr, size, MYDRVNAME);
-       if (!channel->requested && uuid_le_cmp(guid, spar_video_guid))
+       if (!channel->requested && uuid_le_cmp(guid, visor_video_guid))
                /* we only care about errors if this is not the video channel */
                goto err_destroy_channel;
 
@@ -445,7 +445,7 @@ visorchannel_create_guts(u64 physaddr, unsigned long channel_bytes,
        channel->mapped = NULL;
        channel->requested = request_mem_region(channel->physaddr,
                                                channel_bytes, MYDRVNAME);
-       if (!channel->requested && uuid_le_cmp(guid, spar_video_guid))
+       if (!channel->requested && uuid_le_cmp(guid, visor_video_guid))
                /* we only care about errors if this is not the video channel */
                goto err_destroy_channel;