2022-09-22 10:48:39

by Manish Bhardwaj

[permalink] [raw]
Subject: [PATCH] firmware: tegra: include IVC header file only once

Add the necessary definition to prevent compilation
errors from the ivc.h file being included multiple times.
This does not currently cause any compilation issues,
but fix this anyway.

Signed-off-by: Manish Bhardwaj <[email protected]>
---
include/soc/tegra/ivc.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/soc/tegra/ivc.h b/include/soc/tegra/ivc.h
index 4aeb77cc22c5..88ce0bf439ad 100644
--- a/include/soc/tegra/ivc.h
+++ b/include/soc/tegra/ivc.h
@@ -4,6 +4,7 @@
*/

#ifndef __TEGRA_IVC_H
+#define __TEGRA_IVC_H

#include <linux/device.h>
#include <linux/dma-mapping.h>
--
2.37.3


2022-11-17 22:34:07

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH] firmware: tegra: include IVC header file only once

On Thu, Sep 22, 2022 at 03:56:27PM +0530, Manish Bhardwaj wrote:
> Add the necessary definition to prevent compilation
> errors from the ivc.h file being included multiple times.
> This does not currently cause any compilation issues,
> but fix this anyway.
>
> Signed-off-by: Manish Bhardwaj <[email protected]>
> ---
> include/soc/tegra/ivc.h | 1 +
> 1 file changed, 1 insertion(+)

Applied, thanks.

Thierry


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