Message ID | 1542131465-22773-1-git-send-email-byan@nvidia.com |
---|---|
State | Accepted |
Headers | show |
Series | soc/tegra: remove duplicated function declaration | expand |
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 <byan@nvidia.com> > --- > 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 <jonathanh@nvidia.com> Cheers Jon
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 <byan@nvidia.com> > --- > include/soc/tegra/fuse.h | 1 - > 1 file changed, 1 deletion(-) Applied, thanks. Thierry
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;
The function tegra_read_chipid is declared twice in fuse.h. Remove the redundant declaration. Signed-off-by: Bo Yan <byan@nvidia.com> --- include/soc/tegra/fuse.h | 1 - 1 file changed, 1 deletion(-)