summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-efm32.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-08-31 18:27:27 +0400
committerMark Brown <broonie@linaro.org>2013-08-31 19:29:14 +0400
commitd8851a0d4f57537315fdb854f04724acdc87c424 (patch)
tree5434769f427406cc3f42f41613d17f1e0b0dd9aa /drivers/spi/spi-efm32.c
parent1f6301593d692c7038a1f4db55edd551917bcc17 (diff)
downloadlinux-d8851a0d4f57537315fdb854f04724acdc87c424.tar.xz
spi: efm32: Fix build error
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>
Diffstat (limited to 'drivers/spi/spi-efm32.c')
-rw-r--r--drivers/spi/spi-efm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-efm32.c b/drivers/spi/spi-efm32.c
index dbfef3dbed31..7d84418a01d8 100644
--- a/drivers/spi/spi-efm32.c
+++ b/drivers/spi/spi-efm32.c
@@ -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,