]> git.baikalelectronics.ru Git - kernel.git/commit
spi: ST ST95HF NFC: declare missing of table
authorDaniel Gomez <dagmcr@gmail.com>
Mon, 22 Apr 2019 19:08:04 +0000 (21:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Apr 2019 17:44:44 +0000 (10:44 -0700)
commit36260ba8f5881fde455c3c85250e485612a13f9e
treebb0a1ae718b655729f0ad0739088b82c1904c51a
parentf73574ba1c112125fe51759323ebb7a07599bc1d
spi: ST ST95HF NFC: declare missing of table

Add missing <of_device_id> table for SPI driver relying on SPI
device match since compatible is in a DT binding or in a DTS.

Before this patch:
modinfo drivers/nfc/st95hf/st95hf.ko | grep alias
alias:          spi:st95hf

After this patch:
modinfo drivers/nfc/st95hf/st95hf.ko | grep alias
alias:          spi:st95hf
alias:          of:N*T*Cst,st95hfC*
alias:          of:N*T*Cst,st95hf

Reported-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Daniel Gomez <dagmcr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/st95hf/core.c