diff options
author | Thierry Escande <thierry.escande@collabora.com> | 2017-11-20 17:15:26 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-12-15 10:46:06 +0000 |
commit | 5e0115581bbc367c7958bf5ab8c511b808558533 (patch) | |
tree | 9d40619821ebaf178020c5b6ea5e3231483cf491 /include/linux/mfd/cros_ec.h | |
parent | ea01a31b90581a94cdeef7fda9e4522f15ef64f2 (diff) | |
download | linux-5e0115581bbc367c7958bf5ab8c511b808558533.tar.gz linux-5e0115581bbc367c7958bf5ab8c511b808558533.tar.bz2 linux-5e0115581bbc367c7958bf5ab8c511b808558533.zip |
cros_ec: Move cros_ec_dev module to drivers/mfd
The cros_ec_dev module is responsible for registering the MFD devices
attached to the ChromeOS EC. This patch moves this module to drivers/mfd
so calls to mfd_add_devices() are not done from outside the MFD subtree
anymore.
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/cros_ec.h')
-rw-r--r-- | include/linux/mfd/cros_ec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h index 4e887ba22635..c61535979b8f 100644 --- a/include/linux/mfd/cros_ec.h +++ b/include/linux/mfd/cros_ec.h @@ -322,6 +322,10 @@ extern struct attribute_group cros_ec_attr_group; extern struct attribute_group cros_ec_lightbar_attr_group; extern struct attribute_group cros_ec_vbc_attr_group; +/* debugfs stuff */ +int cros_ec_debugfs_init(struct cros_ec_dev *ec); +void cros_ec_debugfs_remove(struct cros_ec_dev *ec); + /* ACPI GPE handler */ #ifdef CONFIG_ACPI |