Skip to content

Commit

Permalink
spi/sirf: fix MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Mark Brown committed Apr 23, 2013
1 parent e7e4e13 commit 3af4ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-sirf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 3af4ed7

Please sign in to comment.