mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
pinctrl: include machine header to core.h
struct pinctrl_setting contains an enum pinctrl_map_type field, so we need to include machine.h. Also fix kerneldoc to indicate that the pinctrl_setting is about both muxing and other config. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
ba110d90c0
commit
872acc322c
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
||||||
#include <linux/mutex.h>
|
#include <linux/mutex.h>
|
||||||
#include <linux/radix-tree.h>
|
#include <linux/radix-tree.h>
|
||||||
#include <linux/pinctrl/pinconf.h>
|
#include <linux/pinctrl/pinconf.h>
|
||||||
|
#include <linux/pinctrl/machine.h>
|
||||||
|
|
||||||
struct pinctrl_gpio_range;
|
struct pinctrl_gpio_range;
|
||||||
|
|
||||||
|
@ -96,7 +97,7 @@ struct pinctrl_setting_configs {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct pinctrl_setting - an individual mux setting
|
* struct pinctrl_setting - an individual mux or config setting
|
||||||
* @node: list node for struct pinctrl_settings's @settings field
|
* @node: list node for struct pinctrl_settings's @settings field
|
||||||
* @type: the type of setting
|
* @type: the type of setting
|
||||||
* @pctldev: pin control device handling to be programmed
|
* @pctldev: pin control device handling to be programmed
|
||||||
|
|
Loading…
Reference in a new issue