summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-18 16:15:52 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-18 16:15:52 +0300
commit0691cd473715b293cf7295743c31536f75b4a849 (patch)
tree3610dca5617c418f48033f6a101a0df1b6add62c /include/linux
parent9cf0b618599487f456ef5596dd30b5c162291e3c (diff)
parent72c7df8505cbb6da8bb23bdd29e70ce5f30add88 (diff)
downloadlinux-0691cd473715b293cf7295743c31536f75b4a849.tar.xz
Merge branch 'immutable-qcom-spmi-rradc' into togreg
Immutable branch used to allow changes to SPMI and MFD subsystems needed by this driver to be pulled into those trees as well if relevant.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/spmi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/spmi.h b/include/linux/spmi.h
index 729bcbf9f5ad..eac1956a8727 100644
--- a/include/linux/spmi.h
+++ b/include/linux/spmi.h
@@ -164,6 +164,9 @@ static inline void spmi_driver_unregister(struct spmi_driver *sdrv)
module_driver(__spmi_driver, spmi_driver_register, \
spmi_driver_unregister)
+struct device_node;
+
+struct spmi_device *spmi_device_from_of(struct device_node *np);
int spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf);
int spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf,
size_t len);