Skip to content

Commit

Permalink
Export FWUPDATE_GUID
Browse files Browse the repository at this point in the history
This is duplicated in two places internally, and is also required in fwupd too.
  • Loading branch information
hughsie authored and vathpela committed Apr 9, 2018
1 parent 24a3a4b commit 0dc8c02
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions linux/fwupdate.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#include "error.h"
#include "ucs2.h"

#define FWUPDATE_GUID EFI_GUID(0x0abba7dc,0xe516,0x4167,0xbbf5,0x4d,0x9d,0x1c,0x73,0x94,0x16)

int verbose = 0;
int quiet = 0;

Expand Down
2 changes: 2 additions & 0 deletions linux/include/fwup.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ extern int fwup_enable_esrt(void);
#define FWUP_LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_AC 0x00000006
#define FWUP_LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_BATT 0x00000007

#define FWUPDATE_GUID EFI_GUID(0x0abba7dc,0xe516,0x4167,0xbbf5,0x4d,0x9d,0x1c,0x73,0x94,0x16)

typedef struct fwup_resource_s fwup_resource;
typedef struct fwup_resource_iter_s fwup_resource_iter;

Expand Down
2 changes: 0 additions & 2 deletions linux/libfwup.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,6 @@ free_info(update_info *info)
}
}

#define FWUPDATE_GUID EFI_GUID(0x0abba7dc,0xe516,0x4167,0xbbf5,0x4d,0x9d,0x1c,0x73,0x94,0x16)

static int
get_info(efi_guid_t *guid, uint64_t hw_inst, update_info **info)
{
Expand Down

0 comments on commit 0dc8c02

Please sign in to comment.