diff mbox series

hwrng: timeriomem - add include guard to timeriomem-rng.h

Message ID 20190728153236.9937-1-yamada.masahiro@socionext.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series hwrng: timeriomem - add include guard to timeriomem-rng.h | expand

Commit Message

Masahiro Yamada July 28, 2019, 3:32 p.m. UTC
Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/linux/timeriomem-rng.h | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Herbert Xu Aug. 2, 2019, 4:55 a.m. UTC | #1
On Mon, Jul 29, 2019 at 12:32:36AM +0900, Masahiro Yamada wrote:
> Add a header include guard just in case.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>  include/linux/timeriomem-rng.h | 5 +++++
>  1 file changed, 5 insertions(+)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/include/linux/timeriomem-rng.h b/include/linux/timeriomem-rng.h
index fd4a6e6ec831..672df7fbf6c1 100644
--- a/include/linux/timeriomem-rng.h
+++ b/include/linux/timeriomem-rng.h
@@ -5,6 +5,9 @@ 
  * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
  */
 
+#ifndef _LINUX_TIMERIOMEM_RNG_H
+#define _LINUX_TIMERIOMEM_RNG_H
+
 struct timeriomem_rng_data {
 	void __iomem		*address;
 
@@ -14,3 +17,5 @@  struct timeriomem_rng_data {
 	/* bits of entropy per 1024 bits read */
 	unsigned int		quality;
 };
+
+#endif /* _LINUX_TIMERIOMEM_RNG_H */