diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-12-12 16:44:59 -0700 |
---|---|---|
committer | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-12-12 16:44:59 -0700 |
commit | b1ffecb1d5a9c4428bb5e78d217aef35f06265b5 (patch) | |
tree | e4bf63e4ba22cfc69a64a1997319909093ce5db1 | |
parent | 54317510c21cc8bfe99bfacd70469f0a6439fbd1 (diff) |
s: announce GPIOs with function names/pins
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
-rw-r--r-- | arch/arm/mach-mx6/board-mx6_s.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/board-mx6_s.c b/arch/arm/mach-mx6/board-mx6_s.c index 5ee97bd89343..af33c47896ca 100644 --- a/arch/arm/mach-mx6/board-mx6_s.c +++ b/arch/arm/mach-mx6/board-mx6_s.c @@ -1203,7 +1203,9 @@ static void __init board_init(void) gpio_request_array(gpios,ARRAY_SIZE(gpios)); for (i=0; i < ARRAY_SIZE(gpios);i++) { int gpio = gpios[i].gpio; - pr_debug("%s: exporting gpio %d\n", __func__, gpio); + pr_info("%s: exporting gpio %d: %s: %s\n", __func__, + gpio, gpios[i].label, + (gpios[i].flags & GPIOF_DIR_IN) ? "input" : "output"); gpio_export(gpio,1); } imx6q_add_perfmon(0); |