nfc: NFC_WILINK depends on NFC_NCI
authorRandy Dunlap <rdunlap@xenotime.net>
Wed, 21 Sep 2011 18:02:37 +0000 (11:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Sep 2011 20:19:44 +0000 (16:19 -0400)
nwcwilink.c uses nci_*() interfaces, so it should depend on
NFC_NCI.

Fixes these build errors:
ERROR: "nci_register_device" [drivers/nfc/nfcwilink.ko] undefined!
ERROR: "nci_allocate_device" [drivers/nfc/nfcwilink.ko] undefined!
ERROR: "nci_recv_frame" [drivers/nfc/nfcwilink.ko] undefined!
ERROR: "nci_free_device" [drivers/nfc/nfcwilink.ko] undefined!
ERROR: "nci_unregister_device" [drivers/nfc/nfcwilink.ko] undefined!

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/nfc/Kconfig

index 8a56fd3da98953aab54673022f71967c6af18572..5af959274d4ef0c6ba4b355a49575604101db0d1 100644 (file)
@@ -29,7 +29,7 @@ config NFC_PN533
 
 config NFC_WILINK
        tristate "Texas Instruments NFC WiLink driver"
-       depends on TI_ST
+       depends on TI_ST && NFC_NCI
        help
          This enables the NFC driver for Texas Instrument's BT/FM/GPS/NFC
          combo devices. This makes use of shared transport line discipline