hwrng: timeriomem - add include guard to timeriomem-rng.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 28 Jul 2019 15:32:36 +0000 (00:32 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Aug 2019 04:45:14 +0000 (14:45 +1000)
Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/timeriomem-rng.h

index fd4a6e6..672df7f 100644 (file)
@@ -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 */