diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-07 12:53:44 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-24 17:06:48 +0300 |
commit | e5530adc17a79f2a93e8b35e0ce673fc33f5f663 (patch) | |
tree | 7be27c5648559be91fc449b3d9cd55a39e39912e /drivers/pinctrl/devicetree.h | |
parent | de23ccb1edc84f0f59f09b157b082110fb40789c (diff) | |
download | linux-e5530adc17a79f2a93e8b35e0ce673fc33f5f663.tar.gz linux-e5530adc17a79f2a93e8b35e0ce673fc33f5f663.tar.bz2 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/devicetree.h')
-rw-r--r-- | drivers/pinctrl/devicetree.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pinctrl/devicetree.h b/drivers/pinctrl/devicetree.h index efa80779de4f..def76aba99d1 100644 --- a/drivers/pinctrl/devicetree.h +++ b/drivers/pinctrl/devicetree.h @@ -5,8 +5,14 @@ * Copyright (C) 2012 NVIDIA CORPORATION. All rights reserved. */ +#include <linux/errno.h> + +struct device_node; struct of_phandle_args; +struct pinctrl; +struct pinctrl_dev; + #ifdef CONFIG_OF void pinctrl_dt_free_maps(struct pinctrl *p); |