lkml.org 
[lkml]   [2024]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v8 09/13] clk: hisilicon: hi3620: Convert into platform driver module
From
Date
Quoting David Yang (2024-04-11 00:04:54)
> Use common helper functions and register clks with a single of_device_id
> data.
>
> Signed-off-by: David Yang <mmyangfl@gmail.com>
> ---
> drivers/clk/hisilicon/clk-hi3620.c | 191 +++++++++++++++--------------
> 1 file changed, 96 insertions(+), 95 deletions(-)
>
> diff --git a/drivers/clk/hisilicon/clk-hi3620.c b/drivers/clk/hisilicon/clk-hi3620.c
> index 5d0226530fdb..8832cdd6bd57 100644
> --- a/drivers/clk/hisilicon/clk-hi3620.c
> +++ b/drivers/clk/hisilicon/clk-hi3620.c
> @@ -12,6 +12,7 @@
> #include <linux/kernel.h>
> #include <linux/clk-provider.h>
> #include <linux/io.h>
> +#include <linux/module.h>
> #include <linux/of.h>
> #include <linux/of_address.h>
> #include <linux/slab.h>

You need to include linux/platform_device.h if you're making it into a
platform driver.

\
 
 \ /
  Last update: 2024-05-27 16:35    [W:0.049 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site