mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
cdef6254e1
Pass the pnp_dev pointer when possible instead of the acpi_handle. This allows better error messages and reduces the chance of error in the caller. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-By: Rene Herman <rene.herman@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
13 lines
444 B
C
13 lines
444 B
C
#ifndef ACPI_PNP_H
|
|
#define ACPI_PNP_H
|
|
|
|
#include <acpi/acpi_bus.h>
|
|
#include <linux/acpi.h>
|
|
#include <linux/pnp.h>
|
|
|
|
acpi_status pnpacpi_parse_allocated_resource(acpi_handle, struct pnp_resource_table*);
|
|
acpi_status pnpacpi_parse_resource_option_data(acpi_handle, struct pnp_dev*);
|
|
int pnpacpi_encode_resources(struct pnp_resource_table *, struct acpi_buffer *);
|
|
int pnpacpi_build_resource_template(struct pnp_dev *, struct acpi_buffer *);
|
|
#endif
|