spi/qspi: Fix device table entry
authorSourav Poddar <sourav.poddar@ti.com>
Tue, 27 Aug 2013 07:11:20 +0000 (12:41 +0530)
committerMark Brown <broonie@linaro.org>
Tue, 27 Aug 2013 13:30:20 +0000 (14:30 +0100)
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>
drivers/spi/spi-ti-qspi.c

index c07e041..79081d9 100644 (file)
@@ -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)
 {