summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRakesh Goyal <rgoyal@nvidia.com>2012-03-09 11:43:56 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-03-09 11:43:56 -0800
commita776bb2e81e5c3a36394867fcb30c141d2a3ac0e (patch)
tree50d36200bb3ba7703b44061456e2c71dda55bfa4 /modules
parent83c62ce4e319a11d14a27c6368811f9efc1e8c5a (diff)
parent6d2bc4fc11ca04326eaf982f97d13d6410a73af2 (diff)
downloadhardware_libhardware-a776bb2e81e5c3a36394867fcb30c141d2a3ac0e.zip
hardware_libhardware-a776bb2e81e5c3a36394867fcb30c141d2a3ac0e.tar.gz
hardware_libhardware-a776bb2e81e5c3a36394867fcb30c141d2a3ac0e.tar.bz2
am 6d2bc4fc: am 4cbd62c2: add i2c_device_address member to nfc_pn544_device_t
* commit '6d2bc4fc11ca04326eaf982f97d13d6410a73af2': add i2c_device_address member to nfc_pn544_device_t
Diffstat (limited to 'modules')
-rw-r--r--modules/nfc/nfc_hw_example.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/nfc/nfc_hw_example.c b/modules/nfc/nfc_hw_example.c
index 9769282..54c9c56 100644
--- a/modules/nfc/nfc_hw_example.c
+++ b/modules/nfc/nfc_hw_example.c
@@ -44,6 +44,7 @@ static int nfc_open(const hw_module_t* module, const char* name,
dev->linktype = PN544_LINK_TYPE_INVALID;
dev->device_node = NULL;
dev->enable_i2c_workaround = 0;
+ dev->i2c_device_address = 0;
*device = (hw_device_t*) dev;
return 0;