Browse Source

spi/qspi: Fix device table entry

Fix module device table entry. Without this, there will
be a build failure while trying to build qspi as a module.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Sourav Poddar 12 năm trước cách đây
mục cha
commit
e1432d30cb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/spi/spi-ti-qspi.c

+ 1 - 1
drivers/spi/spi-ti-qspi.c

@@ -455,7 +455,7 @@ static const struct of_device_id ti_qspi_match[] = {
 	{.compatible = "ti,dra7xxx-qspi" },
 	{},
 };
-MODULE_DEVICE_TABLE(of, dra7xxx_qspi_match);
+MODULE_DEVICE_TABLE(of, ti_qspi_match);
 
 static int ti_qspi_probe(struct platform_device *pdev)
 {