diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2021-03-01 16:42:19 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-04-14 16:06:07 +0100 |
commit | 42e59982917a25ad254b74e6e8decee5e684763d (patch) | |
tree | 570c1f9847cb31046bf62b6b2a499a8a6660e810 /include/linux | |
parent | 586478bfc9f7e16504d6f64cf18bcbdf6fd0cbc9 (diff) | |
download | linux-stable-42e59982917a25ad254b74e6e8decee5e684763d.tar.gz linux-stable-42e59982917a25ad254b74e6e8decee5e684763d.tar.bz2 linux-stable-42e59982917a25ad254b74e6e8decee5e684763d.zip |
mfd: core: Add support for software nodes
The old device property API is going to be removed and
replaced with the newer software node API. This prepares MFD
subsystem for the transition.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mfd/core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index 2009c4b936d9..9ec599167fe6 100644 --- a/include/linux/mfd/core.h +++ b/include/linux/mfd/core.h @@ -50,6 +50,7 @@ #define MFD_DEP_LEVEL_HIGH 1 struct irq_domain; +struct software_node; struct property_entry; /* Matches ACPI PNP id, either _HID or _CID, or ACPI _ADR */ @@ -78,6 +79,9 @@ struct mfd_cell { void *platform_data; size_t pdata_size; + /* Software node for the device. */ + const struct software_node *swnode; + /* device properties passed to the sub devices drivers */ const struct property_entry *properties; |