summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/files/arch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ifxmips/files/arch')
-rw-r--r--target/linux/ifxmips/files/arch/mips/ifxmips/board.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ifxmips/files/arch/mips/ifxmips/board.c b/target/linux/ifxmips/files/arch/mips/ifxmips/board.c
index 017a8a62b..8f3e166eb 100644
--- a/target/linux/ifxmips/files/arch/mips/ifxmips/board.c
+++ b/target/linux/ifxmips/files/arch/mips/ifxmips/board.c
@@ -46,6 +46,14 @@ static struct platform_device ifxmips_led[] =
},
};
+static struct platform_device ifxmips_gpio[] =
+{
+ {
+ .id = 0,
+ .name = "ifxmips_gpio",
+ },
+};
+
int __init ifxmips_init_devices(void)
{
/*
@@ -61,6 +69,7 @@ int __init ifxmips_init_devices(void)
/* the following devices are generic for all targets */
ifxmips_devs[dev++] = ifxmips_led;
+ ifxmips_devs[dev++] = ifxmips_gpio;
return platform_add_devices(ifxmips_devs, dev);
}