summaryrefslogtreecommitdiff
path: root/lib/intel_reg_map.c
diff options
context:
space:
mode:
authorOscar Mateo <oscar.mateo@intel.com>2013-11-12 11:50:42 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-12 12:05:55 +0100
commit5032e7bbdd342ac111ab2c57bf82b3dd4d26f208 (patch)
tree19b9398d91faaa1d0d6420417f7446f74d0c12e7 /lib/intel_reg_map.c
parentdce0d99a91b4be26c4cd07e7030615fdc46bf2c7 (diff)
build: Fix assorted compilation warnings
As these files are compiled for every test, the warnings cluttered the Android build completely. v2: As suggested by Daniel Vetter, drop some of the fixes and fix the compilation flags instead. Signed-off-by: Oscar Mateo <oscar.mateo@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/intel_reg_map.c')
-rw-r--r--lib/intel_reg_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/intel_reg_map.c b/lib/intel_reg_map.c
index 0c8d49c9..26ddd065 100644
--- a/lib/intel_reg_map.c
+++ b/lib/intel_reg_map.c
@@ -1,5 +1,5 @@
/*
- * Copyright © 2011 Intel Corporation
+ * Copyright © 2011 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -151,7 +151,7 @@ intel_get_register_map(uint32_t devid)
}
struct intel_register_range *
-intel_get_register_range(struct intel_register_map map, uint32_t offset, int mode)
+intel_get_register_range(struct intel_register_map map, uint32_t offset, uint32_t mode)
{
struct intel_register_range *range = map.map;
uint32_t align = map.alignment_mask;