diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-07 11:53:44 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-24 16:06:48 +0200 |
commit | e5530adc17a79f2a93e8b35e0ce673fc33f5f663 (patch) | |
tree | 7be27c5648559be91fc449b3d9cd55a39e39912e /drivers/pinctrl/pinctrl-utils.h | |
parent | pinctrl: intel: Add missing header(s) (diff) | |
download | linux-e5530adc17a79f2a93e8b35e0ce673fc33f5f663.tar.xz linux-e5530adc17a79f2a93e8b35e0ce673fc33f5f663.zip |
pinctrl: Clean up headers
There is a few things done:
- include only the headers we are direct user of
- when pointer is in use, provide a forward declaration
- add missing headers
- group generic headers and subsystem headers
- sort each group alphabetically
While at it, fix some awkward indentations.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/pinctrl/pinctrl-utils.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-utils.h b/drivers/pinctrl/pinctrl-utils.h index cec407a8cc4e..4108ee2dd6d0 100644 --- a/drivers/pinctrl/pinctrl-utils.h +++ b/drivers/pinctrl/pinctrl-utils.h @@ -9,6 +9,11 @@ #ifndef __PINCTRL_UTILS_H__ #define __PINCTRL_UTILS_H__ +#include <linux/pinctrl/machine.h> + +struct pinctrl_dev; +struct pinctrl_map; + int pinctrl_utils_reserve_map(struct pinctrl_dev *pctldev, struct pinctrl_map **map, unsigned *reserved_maps, unsigned *num_maps, unsigned reserve); |