RE: [PATCH v2 02/15] regulator: da9210: Fix W=1 build warning when CONFIG_OF=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21 August 2020 04:13, Jisheng Zhang wrote:

> Fix below warning when CONFIG_OF=n:
> 
> drivers/regulator/da9210-regulator.c:128:34: warning: ‘da9210_dt_ids’ defined
> but not used [-Wunused-const-variable=]
>   128 | static const struct of_device_id da9210_dt_ids[] = {
>       |                                  ^~~~~~~~~~~~~
> 
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>

Acked-by: Adam Thomson <Adam.Thomson.Opensource@xxxxxxxxxxx>






[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux