summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm365-evm.c
diff options
context:
space:
mode:
authorPhilip Avinash <avinashphilip@ti.com>2013-08-18 07:19:02 +0200
committerSekhar Nori <nsekhar@ti.com>2013-09-25 00:45:40 +0200
commit834acb2af6e8255a026c754fac3d1bc3f32b0c1a (patch)
tree84d4dcf0defa5ae4251488af845afe431ce9ef48 /arch/arm/mach-davinci/board-dm365-evm.c
parentARM: davinci: da8xx boards: gpio device creation (diff)
downloadlinux-834acb2af6e8255a026c754fac3d1bc3f32b0c1a.tar.xz
linux-834acb2af6e8255a026c754fac3d1bc3f32b0c1a.zip
ARM: davinci: board: gpio device creation
Create GPIO device for existing DaVinci boards. While at it, group related header files together. Signed-off-by: Philip Avinash <avinashphilip@ti.com> Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> [nsekhar@ti.com: remove soc bits from this patch and simplify commit message] Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm365-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-dm365-evm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
index 92b7f770615a..c2aed66f284d 100644
--- a/arch/arm/mach-davinci/board-dm365-evm.c
+++ b/arch/arm/mach-davinci/board-dm365-evm.c
@@ -743,6 +743,12 @@ static struct spi_board_info dm365_evm_spi_info[] __initconst = {
static __init void dm365_evm_init(void)
{
+ int ret;
+
+ ret = dm365_gpio_register();
+ if (ret)
+ pr_warn("%s: GPIO init failed: %d\n", __func__, ret);
+
evm_init_i2c();
davinci_serial_init(dm365_serial_device);