Re: [PATCH 1/2] PCI/ACPI: move _OSC code to pci_root.c

Kenji Kaneshige
2009-02-06T05:43:06Z

Moore, Robert wrote:
> The acpi_evaluate_object_typed interface automatically handles the two error cases you check for:
>
> 1) Checks for the case where no object is returned
> 2) Checks for the correct return object type (buffer in this case)
>
> Use of this interface would simplify and shrink the code.
>

Sounds good to me, but I have a question.

The acpi_evaluate_object_typed() function seems to be compiled
only when ACPI_FUTURE_USAGE is defined. And it seems that there
is no prototype declaration. I don't know about ACPI_FUTURE_USAGE
at all. Could you please tell me what I should do to use
acpi_evaluate_object_typed()?

Thanks,
Kenji Kaneshige