summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2014-12-08 22:08:06 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2015-01-26 00:09:22 +0100
commit6b5fba4eb4267bb8025538f43aac4af51151c890 (patch)
tree8dd9b5838cb2e15189d6922c68a01a9664f540ad /drivers/nfc
parent7aee42c6764bae75d0eb2f674f0874193de90c05 (diff)
downloadop-kernel-dev-6b5fba4eb4267bb8025538f43aac4af51151c890.zip
op-kernel-dev-6b5fba4eb4267bb8025538f43aac4af51151c890.tar.gz
NFC: dts: st21nfca: Fix compatible string spelling to follow other drivers
Other drivers are following the following compatible string format for dts: s/_/-/ Because some devices may still use the previous string, the new corrected string is added to the of_device_id table. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/st21nfca/i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c
index 0572208..b2e0792 100644
--- a/drivers/nfc/st21nfca/i2c.c
+++ b/drivers/nfc/st21nfca/i2c.c
@@ -661,6 +661,7 @@ static int st21nfca_hci_i2c_remove(struct i2c_client *client)
#ifdef CONFIG_OF
static const struct of_device_id of_st21nfca_i2c_match[] = {
+ { .compatible = "st,st21nfca-i2c", },
{ .compatible = "st,st21nfca_i2c", },
{}
};
OpenPOWER on IntegriCloud