aboutsummaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2011-07-27 10:11:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-08 13:53:49 -0700
commita88769cde24fcef11219cf99193ee558d1028217 (patch)
tree68822224c8d53ba9e8c030db538888dea00521e0 /drivers/firmware
parent322a8b034003c0d46d39af85bf24fee27b902f48 (diff)
firmware: fix google/gsmi.c build warning
Modify function parameter type to match expected type. Fixes a build warning: drivers/firmware/google/gsmi.c:473: warning: initialization from incompatible pointer type Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: Mike Waychison <mikew@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/google/gsmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/google/gsmi.c b/drivers/firmware/google/gsmi.c
index 68810fd1a59..aa83de9db1b 100644
--- a/drivers/firmware/google/gsmi.c
+++ b/drivers/firmware/google/gsmi.c
@@ -420,7 +420,7 @@ static efi_status_t gsmi_get_next_variable(unsigned long *name_size,
static efi_status_t gsmi_set_variable(efi_char16_t *name,
efi_guid_t *vendor,
- unsigned long attr,
+ u32 attr,
unsigned long data_size,
void *data)
{