pinctrl: mtk: Fix up GPIO includes
Include only <linux/gpio/driver.h> since this is a driver, not a consumer. Cc: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
994f886568
commit
22d7fe4984
|
@ -8,6 +8,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <linux/gpio/driver.h>
|
||||
#include "pinctrl-moore.h"
|
||||
|
||||
#define PINCTRL_PINCTRL_DEV KBUILD_MODNAME
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
#ifndef __PINCTRL_MOORE_H
|
||||
#define __PINCTRL_MOORE_H
|
||||
|
||||
#include <linux/gpio.h>
|
||||
#include <linux/gpio/driver.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/of.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <linux/device.h>
|
||||
#include <linux/err.h>
|
||||
#include <linux/gpio.h>
|
||||
#include <linux/gpio/driver.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/of_irq.h>
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#ifndef __PINCTRL_MTK_COMMON_V2_H
|
||||
#define __PINCTRL_MTK_COMMON_V2_H
|
||||
|
||||
#include <linux/gpio/driver.h>
|
||||
|
||||
#define MTK_INPUT 0
|
||||
#define MTK_OUTPUT 1
|
||||
#define MTK_DISABLE 0
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Hongzhou.Yang <hongzhou.yang@mediatek.com>
|
||||
*/
|
||||
|
||||
#include <linux/gpio/driver.h>
|
||||
#include <dt-bindings/pinctrl/mt65xx.h>
|
||||
#include "pinctrl-paris.h"
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#ifndef __PINCTRL_PARIS_H
|
||||
#define __PINCTRL_PARIS_H
|
||||
|
||||
#include <linux/gpio.h>
|
||||
#include <linux/gpio/driver.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/of.h>
|
||||
|
|
Loading…
Reference in New Issue