diff options
author | knolax <1339802534.kk@gmail.com> | 2017-12-20 00:44:08 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-12-20 00:44:08 -0500 |
commit | 37263292a092b221d06b8ae1ddcf4b077eb47ba2 (patch) | |
tree | 108f082d78ad73d0f6b2f6782ffb3c7c815f7b62 | |
parent | fcba4be107df5b150251d4569a86dc8ff3e824c0 (diff) |
fixed typo
-rw-r--r-- | skey.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |