diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-30 13:15:42 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-06-19 00:58:00 +0300 |
commit | e33a3f84f88f13eab6a45c5230c9b9ee9ac78e60 (patch) | |
tree | e0ab90a18340569ac3d1a1f37a802738fd6887ea /include/linux/platform_data/nfcmrvl.h | |
parent | 0d1ca88bbfdfdad4f6fc0421da5e4ea9a13a0d42 (diff) | |
download | linux-e33a3f84f88f13eab6a45c5230c9b9ee9ac78e60.tar.xz |
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/linux/platform_data/nfcmrvl.h')
-rw-r--r-- | include/linux/platform_data/nfcmrvl.h | 2 |
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; |