From 37263292a092b221d06b8ae1ddcf4b077eb47ba2 Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Wed, 20 Dec 2017 00:44:08 -0500 Subject: fixed typo --- skey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skey.c b/skey.c index 70955f4..9025664 100644 --- a/skey.c +++ b/skey.c @@ -146,7 +146,7 @@ static int __init skey_init (void) { return -EINVAL; } //requests access of the GPIO - if (gpio_request_one(row_pins[j], GPIOF_DIR_OUT_INIT_LOW ,rlabels[j])) { + if (gpio_request_one(row_pins[j], GPIOF_OUT_INIT_LOW ,rlabels[j])) { printk(KERN_ALERT "skey: row_pins[%d], BCM %d request failed\n", j, row_pins[j]); return -EINVAL; } -- cgit v1.1