]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ACPICA: ASL-ASL+ converter: remove function parameters from cv_init_file_tree()
authorErik Kaneda <erik.kaneda@intel.com>
Fri, 14 Feb 2020 18:47:55 +0000 (10:47 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 16 Feb 2020 09:19:33 +0000 (10:19 +0100)
ACPICA commit 3ba6fa55a4a32d8b6fc28f9f285506ea0e359296

These parameters can be computed inside of the function from the
Table parameter.

Link: https://github.com/acpica/acpica/commit/3ba6fa55
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acconvert.h
drivers/acpi/acpica/acmacros.h

index ede4b9cc9e85b2f64e021849aa9699c61291e683..9eca93656116004ce50e9e1dae879d7907cc2a5f 100644 (file)
@@ -65,9 +65,7 @@ void cg_write_aml_comment(union acpi_parse_object *op);
 /*
  * cvparser
  */
-void
-cv_init_file_tree(struct acpi_table_header *table,
-                 u8 *aml_start, u32 aml_length);
+void cv_init_file_tree(struct acpi_table_header *table);
 
 void cv_clear_op_comments(union acpi_parse_object *op);
 
index 2269e10bc21b41f8a6e4fd8f1c3e10fa077985fc..87d06c963a606f551f13bec0b4298f31f98a4da2 100644 (file)
 #define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d) cv_print_one_comment_type (a,b,c,d);
 #define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b) cv_print_one_comment_list (a,b);
 #define ASL_CV_FILE_HAS_SWITCHED(a)       cv_file_has_switched(a)
-#define ASL_CV_INIT_FILETREE(a,b,c)      cv_init_file_tree(a,b,c);
+#define ASL_CV_INIT_FILETREE(a)      cv_init_file_tree(a);
 
 #else
 
 #define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d)
 #define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b)
 #define ASL_CV_FILE_HAS_SWITCHED(a)       0
-#define ASL_CV_INIT_FILETREE(a,b,c)
+#define ASL_CV_INIT_FILETREE(a)
 
 #endif