]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
pinctrl: sunxi: does not need module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 29 Feb 2016 20:48:37 +0000 (15:48 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Mar 2016 03:22:47 +0000 (10:22 +0700)
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>
drivers/pinctrl/sunxi/pinctrl-sunxi.c

index 96f64a104a621dfe33653b53d53e4abc90b0a4ed..3a2f5619f87c8d524ba6f1d74db6f290681e5c82 100644 (file)
@@ -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>