spi/sirf: fix MODULE_DEVICE_TABLE
authorArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2013 16:30:41 +0000 (18:30 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Apr 2013 18:27:00 +0000 (19:27 +0100)
This fixes building the spi-sirf driver as a loadable module, which uses
an incorrect MODULE_DEVICE_TABLE, by changing the reference to the
correct symbol.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-sirf.c

index f59d417..0808cd5 100644 (file)
@@ -660,7 +660,7 @@ static const struct of_device_id spi_sirfsoc_of_match[] = {
        { .compatible = "sirf,marco-spi", },
        {}
 };
-MODULE_DEVICE_TABLE(of, sirfsoc_spi_of_match);
+MODULE_DEVICE_TABLE(of, spi_sirfsoc_of_match);
 
 static struct platform_driver spi_sirfsoc_driver = {
        .driver = {