diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-02-29 15:48:37 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-03-09 10:22:47 +0700 |
commit | bcc76199784804c7c0793db42001272a9fabe5db (patch) | |
tree | 89b6d94ba0d59d5c899a21ea42e94a7a7d905ca5 /drivers/pinctrl/sunxi/pinctrl-sunxi.c | |
parent | cc2a73a4a9fb6961fccc5b5d16303630107f2ab9 (diff) | |
download | linux-bcc76199784804c7c0793db42001272a9fabe5db.tar.gz linux-bcc76199784804c7c0793db42001272a9fabe5db.tar.bz2 linux-bcc76199784804c7c0793db42001272a9fabe5db.zip |
pinctrl: sunxi: does not need module.h
This file is not modular, nor is it using modular functions. The
only thing close is the global THIS_MODULE which comes from export.h
so lets replace it appropriately and cut back on the amount of
header stuff we draw in by several thousand lines.
Cc: linux-gpio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/pinctrl-sunxi.c')
-rw-r--r-- | drivers/pinctrl/sunxi/pinctrl-sunxi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c b/drivers/pinctrl/sunxi/pinctrl-sunxi.c index 96f64a104a62..3a2f5619f87c 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sunxi.c +++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.c @@ -15,7 +15,7 @@ #include <linux/gpio/driver.h> #include <linux/irqdomain.h> #include <linux/irqchip/chained_irq.h> -#include <linux/module.h> +#include <linux/export.h> #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_device.h> |