2018-11-13 17:54:02

by Bo Yan

[permalink] [raw]
Subject: [PATCH] soc/tegra: remove duplicated function declaration

The function tegra_read_chipid is declared twice in fuse.h. Remove
the redundant declaration.

Signed-off-by: Bo Yan <[email protected]>
---
include/soc/tegra/fuse.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h
index 9b6ea0c..8fb2f8a 100644
--- a/include/soc/tegra/fuse.h
+++ b/include/soc/tegra/fuse.h
@@ -60,7 +60,6 @@ struct tegra_sku_info {

u32 tegra_read_straps(void);
u32 tegra_read_ram_code(void);
-u32 tegra_read_chipid(void);
int tegra_fuse_readl(unsigned long offset, u32 *value);

extern struct tegra_sku_info tegra_sku_info;
--
2.7.4



2018-11-13 19:04:33

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH] soc/tegra: remove duplicated function declaration


On 13/11/2018 17:51, Bo Yan wrote:
> The function tegra_read_chipid is declared twice in fuse.h. Remove
> the redundant declaration.
>
> Signed-off-by: Bo Yan <[email protected]>
> ---
> include/soc/tegra/fuse.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h
> index 9b6ea0c..8fb2f8a 100644
> --- a/include/soc/tegra/fuse.h
> +++ b/include/soc/tegra/fuse.h
> @@ -60,7 +60,6 @@ struct tegra_sku_info {
>
> u32 tegra_read_straps(void);
> u32 tegra_read_ram_code(void);
> -u32 tegra_read_chipid(void);
> int tegra_fuse_readl(unsigned long offset, u32 *value);
>
> extern struct tegra_sku_info tegra_sku_info;

Acked-by: Jon Hunter <[email protected]>

Cheers
Jon

--
nvpublic

2018-11-13 19:27:41

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH] soc/tegra: remove duplicated function declaration

On Tue, Nov 13, 2018 at 09:51:05AM -0800, Bo Yan wrote:
> The function tegra_read_chipid is declared twice in fuse.h. Remove
> the redundant declaration.
>
> Signed-off-by: Bo Yan <[email protected]>
> ---
> include/soc/tegra/fuse.h | 1 -
> 1 file changed, 1 deletion(-)

Applied, thanks.

Thierry


Attachments:
(No filename) (311.00 B)
signature.asc (849.00 B)
Download all attachments