]> git.ipfire.org Git - thirdparty/linux.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)
commitd04830531d0c4a99c897a44038e5da3d23331d2f
treebb0a1ae718b655729f0ad0739088b82c1904c51a
parent2f23a2a768bee7ad2ff1e9527c3f7e279e794a46
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