diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2017-07-04 11:53:51 +0200 |
---|---|---|
committer | Dominik Sliwa <dominik.sliwa@toradex.com> | 2017-08-21 17:21:16 +0200 |
commit | 84d6642e4d1609562abb421341c9a90c023247a1 (patch) | |
tree | ffcc2b23e887c7d5615303067978e185e67072cc /drivers/nfc/nfcmrvl/usb.c | |
parent | 52409fae3e4b8d16b68b61902fc09075cd97b75d (diff) |
backports:fix compilation with toradex kernels
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'drivers/nfc/nfcmrvl/usb.c')
-rw-r--r-- | drivers/nfc/nfcmrvl/usb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nfc/nfcmrvl/usb.c b/drivers/nfc/nfcmrvl/usb.c index 585a0f2..68ec797 100644 --- a/drivers/nfc/nfcmrvl/usb.c +++ b/drivers/nfc/nfcmrvl/usb.c @@ -462,7 +462,9 @@ static struct usb_driver nfcmrvl_usb_driver = { #endif .id_table = nfcmrvl_table, .supports_autosuspend = 1, +#if LINUX_VERSION_IS_GEQ(3,5,0) .disable_hub_initiated_lpm = 1, +#endif .soft_unbind = 1, }; module_usb_driver(nfcmrvl_usb_driver); |