X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=Documentation%2Facpi%2Fenumeration.txt;h=a91ec5af52df28cf3ff3c2ae03b163272caae0e6;hb=d78c658e02bbbedf622fd1745182481c8823cb93;hp=b731b292e8128e30439ae54c1f0f328b56e79b72;hpb=3d3e66ba2ced6c5ba7d960f106ba2d3a4444c4ab;p=karo-tx-linux.git diff --git a/Documentation/acpi/enumeration.txt b/Documentation/acpi/enumeration.txt index b731b292e812..a91ec5af52df 100644 --- a/Documentation/acpi/enumeration.txt +++ b/Documentation/acpi/enumeration.txt @@ -347,13 +347,18 @@ For the first case, the MFD drivers do not need to do anything. The resulting child platform device will have its ACPI_COMPANION() set to point to the parent device. -If the ACPI namespace has a device that we can match using an ACPI id, -the id should be set like: +If the ACPI namespace has a device that we can match using an ACPI id or ACPI +adr, the cell should be set like: + + static struct mfd_cell_acpi_match my_subdevice_cell_acpi_match = { + .pnpid = "XYZ0001", + .adr = 0, + }; static struct mfd_cell my_subdevice_cell = { .name = "my_subdevice", /* set the resources relative to the parent */ - .acpi_pnpid = "XYZ0001", + .acpi_match = &my_subdevice_cell_acpi_match, }; The ACPI id "XYZ0001" is then used to lookup an ACPI device directly under