aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/core.h')
-rw-r--r--include/linux/mfd/core.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h
index a76bc100bf97..27dac3ff18b9 100644
--- a/include/linux/mfd/core.h
+++ b/include/linux/mfd/core.h
@@ -18,6 +18,12 @@
18 18
19struct irq_domain; 19struct irq_domain;
20 20
21/* Matches ACPI PNP id, either _HID or _CID, or ACPI _ADR */
22struct mfd_cell_acpi_match {
23 const char *pnpid;
24 const unsigned long long adr;
25};
26
21/* 27/*
22 * This struct describes the MFD part ("cell"). 28 * This struct describes the MFD part ("cell").
23 * After registration the copy of this structure will become the platform data 29 * After registration the copy of this structure will become the platform data
@@ -44,8 +50,8 @@ struct mfd_cell {
44 */ 50 */
45 const char *of_compatible; 51 const char *of_compatible;
46 52
47 /* Matches ACPI PNP id, either _HID or _CID */ 53 /* Matches ACPI */
48 const char *acpi_pnpid; 54 const struct mfd_cell_acpi_match *acpi_match;
49 55
50 /* 56 /*
51 * These resources can be specified relative to the parent device. 57 * These resources can be specified relative to the parent device.