spi: efm32: Fix build error
authorAxel Lin <axel.lin@ingics.com>
Sat, 31 Aug 2013 14:27:27 +0000 (22:27 +0800)
committerMark Brown <broonie@linaro.org>
Sat, 31 Aug 2013 15:29:14 +0000 (16:29 +0100)
Obviously the of_device_id table name is wrong.

Fix below build error:

  CC [M]  drivers/spi/spi-efm32.o
drivers/spi/spi-efm32.c:499:1: error: '__mod_of_device_table' aliased to undefined symbol 'efm32_uart_dt_ids'
make[2]: *** [drivers/spi/spi-efm32.o] Error 1
make[1]: *** [drivers/spi] Error 2
make: *** [drivers] Error 2

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-efm32.c

index dbfef3dbed31419a1e149f20fcb1c2abba409fcd..7d84418a01d8c0fece0e4d6e73fbafe559f9b2e3 100644 (file)
@@ -496,7 +496,7 @@ static const struct of_device_id efm32_spi_dt_ids[] = {
                /* sentinel */
        }
 };
-MODULE_DEVICE_TABLE(of, efm32_uart_dt_ids);
+MODULE_DEVICE_TABLE(of, efm32_spi_dt_ids);
 
 static struct platform_driver efm32_spi_driver = {
        .probe = efm32_spi_probe,