Skip to content
Commit 9132ce45 authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: omap2: fix missing include



commit d47529b2
"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: d47529b2 ("gpio: don't include module.h in shared driver header")
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0e4011eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment