From: Arnd Bergmann Date: Tue, 23 Apr 2013 16:30:41 +0000 (+0200) Subject: spi/sirf: fix MODULE_DEVICE_TABLE X-Git-Tag: v3.10-rc1~185^2~9 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3af4ed70252b172dd5b83ac9222ff38bbac6fdbe;p=linux-block.git 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 Signed-off-by: Mark Brown --- 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 = {