diff options
author | Borislav Petkov <bp@suse.de> | 2013-06-02 08:56:07 -0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-06-11 02:39:26 -0400 |
commit | 43ab0476a648053e5998bf081f47f215375a4502 (patch) | |
tree | 50004009071326225b080586d7d909c4641e3de2 /include/linux/efi.h | |
parent | 1acba98f810a14b1255e34bc620594f83de37e36 (diff) |
efi: Convert runtime services function ptrs
... to void * like the boot services and lose all the void * casts. No
functionality change.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 2bc0ad78d058..21ae6b3c0359 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
@@ -287,20 +287,20 @@ typedef struct { | |||
287 | 287 | ||
288 | typedef struct { | 288 | typedef struct { |
289 | efi_table_hdr_t hdr; | 289 | efi_table_hdr_t hdr; |
290 | unsigned long get_time; | 290 | void *get_time; |
291 | unsigned long set_time; | 291 | void *set_time; |
292 | unsigned long get_wakeup_time; | 292 | void *get_wakeup_time; |
293 | unsigned long set_wakeup_time; | 293 | void *set_wakeup_time; |
294 | unsigned long set_virtual_address_map; | 294 | void *set_virtual_address_map; |
295 | unsigned long convert_pointer; | 295 | void *convert_pointer; |
296 | unsigned long get_variable; | 296 | void *get_variable; |
297 | unsigned long get_next_variable; | 297 | void *get_next_variable; |
298 | unsigned long set_variable; | 298 | void *set_variable; |
299 | unsigned long get_next_high_mono_count; | 299 | void *get_next_high_mono_count; |
300 | unsigned long reset_system; | 300 | void *reset_system; |
301 | unsigned long update_capsule; | 301 | void *update_capsule; |
302 | unsigned long query_capsule_caps; | 302 | void *query_capsule_caps; |
303 | unsigned long query_variable_info; | 303 | void *query_variable_info; |
304 | } efi_runtime_services_t; | 304 | } efi_runtime_services_t; |
305 | 305 | ||
306 | typedef efi_status_t efi_get_time_t (efi_time_t *tm, efi_time_cap_t *tc); | 306 | typedef efi_status_t efi_get_time_t (efi_time_t *tm, efi_time_cap_t *tc); |