summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/clk/sunxi/clk-sun9i-mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/clk/sunxi/clk-sun9i-mmc.c')
-rw-r--r--kernel/drivers/clk/sunxi/clk-sun9i-mmc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/drivers/clk/sunxi/clk-sun9i-mmc.c b/kernel/drivers/clk/sunxi/clk-sun9i-mmc.c
index 710c27364..a9b176139 100644
--- a/kernel/drivers/clk/sunxi/clk-sun9i-mmc.c
+++ b/kernel/drivers/clk/sunxi/clk-sun9i-mmc.c
@@ -14,14 +14,15 @@
* GNU General Public License for more details.
*/
+#include <linux/clk.h>
#include <linux/clk-provider.h>
-#include <linux/clkdev.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/reset.h>
#include <linux/platform_device.h>
#include <linux/reset-controller.h>
+#include <linux/slab.h>
#include <linux/spinlock.h>
#define SUN9I_MMC_WIDTH 4
@@ -203,6 +204,7 @@ static const struct of_device_id sun9i_a80_mmc_config_clk_dt_ids[] = {
{ .compatible = "allwinner,sun9i-a80-mmc-config-clk" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, sun9i_a80_mmc_config_clk_dt_ids);
static struct platform_driver sun9i_a80_mmc_config_clk_driver = {
.driver = {