summaryrefslogtreecommitdiffstats
path: root/drivers
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
parent322a8b034003c0d46d39af85bf24fee27b902f48 (diff)
downloadlinux-stable-a88769cde24fcef11219cf99193ee558d1028217.tar.gz
linux-stable-a88769cde24fcef11219cf99193ee558d1028217.tar.bz2
linux-stable-a88769cde24fcef11219cf99193ee558d1028217.zip
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')
-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 68810fd1a59d..aa83de9db1b9 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)
{