summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChirayu Desai <chirayudesai1@gmail.com>2015-07-03 22:58:33 +0530
committerChirayu Desai <chirayudesai1@gmail.com>2015-07-03 22:59:30 +0530
commit6d4a0c403b19781a3e2e209c26ff23073521a5a1 (patch)
treef9fb4ff725f96065c59c7aed60ff582b79230f69
parent4f68c6c8a4b73652b1b945de4b0a96820857d0b3 (diff)
nfc: Set device path
* No need to symlink anymore. Change-Id: I070f2ce24846ff4b4e4c7560bd4d9ffb3d7e7db3
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--rootdir/init.qcom.rc4
2 files changed, 1 insertions, 4 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 3d34cc6..364c889 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -82,6 +82,7 @@ WIFI_DRIVER_MODULE_ARG := "nvram_path=/system/etc/firmware/wlan/bcmdhd
# NFC
BOARD_NFC_CHIPSET := pn547
+BOARD_NFC_DEVICE := /dev/pn547
# Filesystem
BOARD_FLASH_BLOCK_SIZE := 131072
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index d1eb6f9..98584a1 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -263,10 +263,6 @@ on boot
chmod 0644 /sys/class/power_supply/battery/input_current_trim
chmod 0644 /sys/class/power_supply/battery/voltage_min
- # NFC
- # Symlink for compability
- symlink /dev/pn547 /dev/pn544
-
chown system system /sys/devices/virtual/graphics/fb0/rgb
chmod 0660 /sys/devices/virtual/graphics/fb0/rgb