Searched hist:"1 bba1998bfd71f003786103dae35145f13ab7ca6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/vertexcom/ |
H A D | mse102x.c | diff 1bba1998bfd71f003786103dae35145f13ab7ca6 Thu Sep 22 01:57:17 CDT 2022 Wei Yongjun <weiyongjun1@huawei.com> net: vertexcom: mse102x: Silence no spi_device_id warnings
SPI devices use the spi_device_id for module autoloading even on systems using device tree, after commit 5fa6863ba692 ("spi: Check we have a spi_device_id for each DT compatible"), kernel warns as follows since the spi_device_id is missing:
SPI driver mse102x has no spi_device_id for vertexcom,mse1021 SPI driver mse102x has no spi_device_id for vertexcom,mse1022
Add spi_device_id entries to silence the warnings, and ensure driver module autoloading works.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20220922065717.1448498-1-weiyongjun@huaweicloud.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|