dm: acpi: Use correct GPIO polarity type in acpi_dp_add_gpio()
This function currently accepts the IRQ-polarity type. Fix it to use the GPIO type instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -221,7 +221,7 @@ struct acpi_dp *acpi_dp_add_child(struct acpi_dp *dp, const char *name,
|
||||
*/
|
||||
struct acpi_dp *acpi_dp_add_gpio(struct acpi_dp *dp, const char *name,
|
||||
const char *ref, int index, int pin,
|
||||
enum acpi_irq_polarity polarity);
|
||||
enum acpi_gpio_polarity polarity);
|
||||
|
||||
/**
|
||||
* acpi_dp_write() - Write Device Property hierarchy and clean up resources
|
||||
|
||||
Reference in New Issue
Block a user