summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-30 12:15:42 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2017-06-18 23:58:00 +0200
commite33a3f84f88f13eab6a45c5230c9b9ee9ac78e60 (patch)
treee0ab90a18340569ac3d1a1f37a802738fd6887ea /include
parent0d1ca88bbfdfdad4f6fc0421da5e4ea9a13a0d42 (diff)
downloadlinux-e33a3f84f88f13eab6a45c5230c9b9ee9ac78e60.tar.bz2
NFC: nfcmrvl: allow gpio 0 for reset signalling
Allow gpio 0 to be used for reset signalling, and instead use negative errnos to disable the reset functionality. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/nfcmrvl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/nfcmrvl.h b/include/linux/platform_data/nfcmrvl.h
index a6f9d633f5be..9e75ac8d19be 100644
--- a/include/linux/platform_data/nfcmrvl.h
+++ b/include/linux/platform_data/nfcmrvl.h
@@ -23,7 +23,7 @@ struct nfcmrvl_platform_data {
*/
/* GPIO that is wired to RESET_N signal */
- unsigned int reset_n_io;
+ int reset_n_io;
/* Tell if transport is muxed in HCI one */
unsigned int hci_muxed;