From mboxrd@z Thu Jan 1 00:00:00 1970 From: pawel.moll@arm.com (Pawel Moll) Date: Tue, 11 Feb 2014 17:10:30 +0000 Subject: [PATCH 06/12] mfd: vexpress-sysreg: Add labels to gpio banks In-Reply-To: <1392138636-29240-1-git-send-email-pawel.moll@arm.com> References: <1392138636-29240-1-git-send-email-pawel.moll@arm.com> Message-ID: <1392138636-29240-7-git-send-email-pawel.moll@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org ... so debugfs interfaces are easier to use. Cc: Linus Walleij Cc: Alexandre Courbot Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Pawel Moll --- drivers/mfd/vexpress-sysreg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/vexpress-sysreg.c b/drivers/mfd/vexpress-sysreg.c index f639dff..ece5ac8 100644 --- a/drivers/mfd/vexpress-sysreg.c +++ b/drivers/mfd/vexpress-sysreg.c @@ -133,16 +133,19 @@ void __init vexpress_sysreg_early_init(void __iomem *base) /* The sysreg block is just a random collection of various functions... */ static struct bgpio_pdata vexpress_sysreg_sys_led_pdata = { + .label = "sys_led", .base = -1, .ngpio = 8, }; static struct bgpio_pdata vexpress_sysreg_sys_mci_pdata = { + .label = "sys_mci", .base = -1, .ngpio = 2, }; static struct bgpio_pdata vexpress_sysreg_sys_flash_pdata = { + .label = "sys_flash", .base = -1, .ngpio = 1, }; -- 1.8.3.2