]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: omap2: fix missing include
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Sep 2016 12:34:45 +0000 (14:34 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Sep 2016 12:41:55 +0000 (14:41 +0200)
commitcfc1ce7a98a8924c8948e5c4a2a48eed96b388a4
tree15f994358cc3165018ba8ef66c7e44c0264b1a8a
parent45f80139097f1e718c91799ce20a826411178808
ARM: omap2: fix missing include

commit 3db1db66dad7
"gpio: don't include module.h in shared driver header"
removed <linux/module.h> from the <linux/gpio/driver.h> header.

It seems arch/arm/mach-omap2/board-rx51-peripherals.c
is using __initdata_or_module from <linux/module.h> through
<linux/gpio.h> to <linux/gpio/driver.h>, so break this dependency
so that we get a clean compile.

Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Tony Lindgren <tony@atomide.com>
Fixes: 3db1db66dad7 ("gpio: don't include module.h in shared driver header")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-omap2/board-rx51-peripherals.c