Skip to content

Commit

Permalink
hwrng: timeriomem - add include guard to timeriomem-rng.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada authored and Herbert Xu committed Aug 2, 2019
1 parent f9981bc commit 2ef5404
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/timeriomem-rng.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -14,3 +17,5 @@ struct timeriomem_rng_data {
/* bits of entropy per 1024 bits read */
unsigned int quality;
};

#endif /* _LINUX_TIMERIOMEM_RNG_H */

0 comments on commit 2ef5404

Please sign in to comment.