aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_mpc8xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi_mpc8xxx.c')
-rw-r--r--drivers/spi/spi_mpc8xxx.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/spi/spi_mpc8xxx.c b/drivers/spi/spi_mpc8xxx.c
index 7572f98a419e..77ab15e330d0 100644
--- a/drivers/spi/spi_mpc8xxx.c
+++ b/drivers/spi/spi_mpc8xxx.c
@@ -1312,8 +1312,11 @@ static const struct of_device_id of_mpc8xxx_spi_match[] = {
1312MODULE_DEVICE_TABLE(of, of_mpc8xxx_spi_match); 1312MODULE_DEVICE_TABLE(of, of_mpc8xxx_spi_match);
1313 1313
1314static struct of_platform_driver of_mpc8xxx_spi_driver = { 1314static struct of_platform_driver of_mpc8xxx_spi_driver = {
1315 .name = "mpc8xxx_spi", 1315 .driver = {
1316 .match_table = of_mpc8xxx_spi_match, 1316 .name = "mpc8xxx_spi",
1317 .owner = THIS_MODULE,
1318 .of_match_table = of_mpc8xxx_spi_match,
1319 },
1317 .probe = of_mpc8xxx_spi_probe, 1320 .probe = of_mpc8xxx_spi_probe,
1318 .remove = __devexit_p(of_mpc8xxx_spi_remove), 1321 .remove = __devexit_p(of_mpc8xxx_spi_remove),
1319}; 1322};