diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-23 18:30:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-23 20:27:00 +0200 |
commit | 3af4ed70252b172dd5b83ac9222ff38bbac6fdbe (patch) | |
tree | f9fae85040fef7fda9530712009d3d3002b6420f /drivers/spi | |
parent | MAINTAINERS: Add git repository and update my address (diff) | |
download | linux-3af4ed70252b172dd5b83ac9222ff38bbac6fdbe.tar.xz linux-3af4ed70252b172dd5b83ac9222ff38bbac6fdbe.zip |
spi/sirf: fix MODULE_DEVICE_TABLE
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-sirf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c index f59d4177b419..0808cd56bf8d 100644 --- a/drivers/spi/spi-sirf.c +++ b/drivers/spi/spi-sirf.c @@ -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 = { |