@@ -35,7 +35,7 @@ static acpi_status osl_add_table_to_list(char *signature, u32 instance);
35
35
static acpi_status
36
36
osl_read_table_from_file (char * filename ,
37
37
acpi_size file_offset ,
38
- char * signature , struct acpi_table_header * * table );
38
+ struct acpi_table_header * * table );
39
39
40
40
static acpi_status
41
41
osl_map_table (acpi_size address ,
@@ -1184,8 +1184,6 @@ osl_table_name_from_file(char *filename, char *signature, u32 *instance)
1184
1184
*
1185
1185
* PARAMETERS: filename - File that contains the desired table
1186
1186
* file_offset - Offset of the table in file
1187
- * signature - Optional ACPI Signature for desired table.
1188
- * A null terminated 4-character string.
1189
1187
* table - Where a pointer to the table is returned
1190
1188
*
1191
1189
* RETURN: Status; Table buffer is returned if AE_OK.
@@ -1197,7 +1195,7 @@ osl_table_name_from_file(char *filename, char *signature, u32 *instance)
1197
1195
static acpi_status
1198
1196
osl_read_table_from_file (char * filename ,
1199
1197
acpi_size file_offset ,
1200
- char * signature , struct acpi_table_header * * table )
1198
+ struct acpi_table_header * * table )
1201
1199
{
1202
1200
FILE * table_file ;
1203
1201
struct acpi_table_header header ;
@@ -1225,6 +1223,8 @@ osl_read_table_from_file(char *filename,
1225
1223
goto exit ;
1226
1224
}
1227
1225
1226
+ #ifdef ACPI_OBSOLETE_FUNCTIONS
1227
+
1228
1228
/* If signature is specified, it must match the table */
1229
1229
1230
1230
if (signature ) {
@@ -1244,6 +1244,7 @@ osl_read_table_from_file(char *filename,
1244
1244
goto exit ;
1245
1245
}
1246
1246
}
1247
+ #endif
1247
1248
1248
1249
table_length = ap_get_table_length (& header );
1249
1250
if (table_length == 0 ) {
@@ -1366,7 +1367,7 @@ osl_get_customized_table(char *pathname,
1366
1367
/* There is no physical address saved for customized tables, use zero */
1367
1368
1368
1369
* address = 0 ;
1369
- status = osl_read_table_from_file (table_filename , 0 , NULL , table );
1370
+ status = osl_read_table_from_file (table_filename , 0 , table );
1370
1371
1371
1372
return (status );
1372
1373
}
0 commit comments