diff options
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 0c2e445410ab..966feddf6b1b 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -875,16 +875,6 @@ void acpi_os_wait_events_complete(void *context) | |||
875 | EXPORT_SYMBOL(acpi_os_wait_events_complete); | 875 | EXPORT_SYMBOL(acpi_os_wait_events_complete); |
876 | 876 | ||
877 | /* | 877 | /* |
878 | * Allocate the memory for a spinlock and initialize it. | ||
879 | */ | ||
880 | acpi_status acpi_os_create_lock(acpi_spinlock * handle) | ||
881 | { | ||
882 | spin_lock_init(*handle); | ||
883 | |||
884 | return AE_OK; | ||
885 | } | ||
886 | |||
887 | /* | ||
888 | * Deallocate the memory for a spinlock. | 878 | * Deallocate the memory for a spinlock. |
889 | */ | 879 | */ |
890 | void acpi_os_delete_lock(acpi_spinlock handle) | 880 | void acpi_os_delete_lock(acpi_spinlock handle) |
@@ -1265,21 +1255,6 @@ int acpi_check_region(resource_size_t start, resource_size_t n, | |||
1265 | } | 1255 | } |
1266 | EXPORT_SYMBOL(acpi_check_region); | 1256 | EXPORT_SYMBOL(acpi_check_region); |
1267 | 1257 | ||
1268 | int acpi_check_mem_region(resource_size_t start, resource_size_t n, | ||
1269 | const char *name) | ||
1270 | { | ||
1271 | struct resource res = { | ||
1272 | .start = start, | ||
1273 | .end = start + n - 1, | ||
1274 | .name = name, | ||
1275 | .flags = IORESOURCE_MEM, | ||
1276 | }; | ||
1277 | |||
1278 | return acpi_check_resource_conflict(&res); | ||
1279 | |||
1280 | } | ||
1281 | EXPORT_SYMBOL(acpi_check_mem_region); | ||
1282 | |||
1283 | /* | 1258 | /* |
1284 | * Let drivers know whether the resource checks are effective | 1259 | * Let drivers know whether the resource checks are effective |
1285 | */ | 1260 | */ |