diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/include/linux/pinctrl/pinconf.h | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/include/linux/pinctrl/pinconf.h')
-rw-r--r-- | ANDROID_3.4.5/include/linux/pinctrl/pinconf.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/ANDROID_3.4.5/include/linux/pinctrl/pinconf.h b/ANDROID_3.4.5/include/linux/pinctrl/pinconf.h deleted file mode 100644 index ec431f03..00000000 --- a/ANDROID_3.4.5/include/linux/pinctrl/pinconf.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Interface the pinconfig portions of the pinctrl subsystem - * - * Copyright (C) 2011 ST-Ericsson SA - * Written on behalf of Linaro for ST-Ericsson - * This interface is used in the core to keep track of pins. - * - * Author: Linus Walleij <linus.walleij@linaro.org> - * - * License terms: GNU General Public License (GPL) version 2 - */ -#ifndef __LINUX_PINCTRL_PINCONF_H -#define __LINUX_PINCTRL_PINCONF_H - -#ifdef CONFIG_PINCONF - -struct pinctrl_dev; -struct seq_file; - -/** - * struct pinconf_ops - pin config operations, to be implemented by - * pin configuration capable drivers. - * @is_generic: for pin controllers that want to use the generic interface, - * this flag tells the framework that it's generic. - * @pin_config_get: get the config of a certain pin, if the requested config - * is not available on this controller this should return -ENOTSUPP - * and if it is available but disabled it should return -EINVAL - * @pin_config_get: get the config of a certain pin - * @pin_config_set: configure an individual pin - * @pin_config_group_get: get configurations for an entire pin group - * @pin_config_group_set: configure all pins in a group - * @pin_config_dbg_show: optional debugfs display hook that will provide - * per-device info for a certain pin in debugfs - * @pin_config_group_dbg_show: optional debugfs display hook that will provide - * per-device info for a certain group in debugfs - */ -struct pinconf_ops { -#ifdef CONFIG_GENERIC_PINCONF - bool is_generic; -#endif - int (*pin_config_get) (struct pinctrl_dev *pctldev, - unsigned pin, - unsigned long *config); - int (*pin_config_set) (struct pinctrl_dev *pctldev, - unsigned pin, - unsigned long config); - int (*pin_config_group_get) (struct pinctrl_dev *pctldev, - unsigned selector, - unsigned long *config); - int (*pin_config_group_set) (struct pinctrl_dev *pctldev, - unsigned selector, - unsigned long config); - void (*pin_config_dbg_show) (struct pinctrl_dev *pctldev, - struct seq_file *s, - unsigned offset); - void (*pin_config_group_dbg_show) (struct pinctrl_dev *pctldev, - struct seq_file *s, - unsigned selector); -}; - -#endif - -#endif /* __LINUX_PINCTRL_PINCONF_H */ |