From: Benjamin Romer Date: Tue, 30 Sep 2014 16:08:17 +0000 (-0400) Subject: staging: unisys: get rid of typedef for EVENT_PC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eea94b3a3f449e17325f0cc271631ed27445e1e3;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: unisys: get rid of typedef for EVENT_PC Just switch EVENT_PC over to enum event_pc. Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/include/guestlinuxdebug.h b/drivers/staging/unisys/include/guestlinuxdebug.h index 912455969c9f..957a627d0527 100644 --- a/drivers/staging/unisys/include/guestlinuxdebug.h +++ b/drivers/staging/unisys/include/guestlinuxdebug.h @@ -60,7 +60,7 @@ enum driver_pc { /* POSTCODE driver identifier tuples */ UISLIB_PC_uisutils_c = 0xD4, }; -typedef enum { /* POSTCODE event identifier tuples */ +enum event_pc { /* POSTCODE event identifier tuples */ ATTACH_PORT_ENTRY_PC = 0x001, ATTACH_PORT_FAILURE_PC = 0x002, ATTACH_PORT_SUCCESS_PC = 0x003, @@ -128,7 +128,7 @@ typedef enum { /* POSTCODE event identifier tuples */ SAVE_MSG_BUS_FAILURE_PC = 0x0D9, SAVE_MSG_DEV_FAILURE_PC = 0x0DA, CALLHOME_INIT_FAILURE_PC = 0x0DB -} EVENT_PC; +}; #ifdef __GNUC__