/* If an acpi object has a _DCK method, then it is by definition a dock station, so return true.  */
static int is_dock(acpi_handle handle)
/* If an acpi object has a _DCK method, then it is by definition a dock station, so return true.  */
static int is_dock(acpi_handle handle)
{
	acpi_status status;
	acpi_handle tmp;
	status = acpi_get_handle(handle, "_DCK", &tmp);
	if (ACPI_FAILURE(status))
		return 0;
	return 1;
}