x86/mrst: Add additional debug prints for pb_keys

Added additional debug output that we always seem to add
during power ons to validate firmware operation.

Signed-off-by: Michael Demeter <[email protected]>
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ fixed line breaks, formatting and commit title. ]
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
Michael Demeter 2011-12-15 22:31:23 +00:00 • committed by Ingo Molnar
commit d79a8869d8

View file

@ -983,6 +983,7 @@ static int __init pb_keys_init(void)
num = sizeof(gpio_button) / sizeof(struct gpio_keys_button);
for (i = 0; i < num; i++) {
gb[i].gpio = get_gpio_by_name(gb[i].desc);
pr_debug("info[%2d]: name = %s, gpio = %d\n", i, gb[i].desc, gb[i].gpio);
if (gb[i].gpio == -1)
continue;