diff options
-rw-r--r-- | drivers/mfd/altera-a10sr.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/mfd/altera-a10sr.c b/drivers/mfd/altera-a10sr.c index 40ed65e5fb2a..06e1f7fc5605 100644 --- a/drivers/mfd/altera-a10sr.c +++ b/drivers/mfd/altera-a10sr.c | |||
@@ -1,4 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * Altera Arria10 DevKit System Resource MFD Driver | ||
3 | * | ||
4 | * Author: Thor Thayer <tthayer@opensource.altera.com> | ||
5 | * | ||
2 | * Copyright Intel Corporation (C) 2014-2016. All Rights Reserved | 6 | * Copyright Intel Corporation (C) 2014-2016. All Rights Reserved |
3 | * | 7 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 8 | * This program is free software; you can redistribute it and/or modify it |
@@ -20,7 +24,7 @@ | |||
20 | 24 | ||
21 | #include <linux/mfd/altera-a10sr.h> | 25 | #include <linux/mfd/altera-a10sr.h> |
22 | #include <linux/mfd/core.h> | 26 | #include <linux/mfd/core.h> |
23 | #include <linux/module.h> | 27 | #include <linux/init.h> |
24 | #include <linux/of.h> | 28 | #include <linux/of.h> |
25 | #include <linux/spi/spi.h> | 29 | #include <linux/spi/spi.h> |
26 | 30 | ||
@@ -152,7 +156,6 @@ static const struct of_device_id altr_a10sr_spi_of_match[] = { | |||
152 | { .compatible = "altr,a10sr" }, | 156 | { .compatible = "altr,a10sr" }, |
153 | { }, | 157 | { }, |
154 | }; | 158 | }; |
155 | MODULE_DEVICE_TABLE(of, altr_a10sr_spi_of_match); | ||
156 | 159 | ||
157 | static struct spi_driver altr_a10sr_spi_driver = { | 160 | static struct spi_driver altr_a10sr_spi_driver = { |
158 | .probe = altr_a10sr_spi_probe, | 161 | .probe = altr_a10sr_spi_probe, |
@@ -161,9 +164,4 @@ static struct spi_driver altr_a10sr_spi_driver = { | |||
161 | .of_match_table = of_match_ptr(altr_a10sr_spi_of_match), | 164 | .of_match_table = of_match_ptr(altr_a10sr_spi_of_match), |
162 | }, | 165 | }, |
163 | }; | 166 | }; |
164 | 167 | builtin_driver(altr_a10sr_spi_driver, spi_register_driver) | |
165 | module_spi_driver(altr_a10sr_spi_driver); | ||
166 | |||
167 | MODULE_LICENSE("GPL v2"); | ||
168 | MODULE_AUTHOR("Thor Thayer <tthayer@opensource.altera.com>"); | ||
169 | MODULE_DESCRIPTION("Altera Arria10 DevKit System Resource MFD Driver"); | ||