Skip to content

Commit 2ef5404

Browse files
masahir0yherbertx
authored andcommitted
hwrng: timeriomem - add include guard to timeriomem-rng.h
Add a header include guard just in case. Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent f9981bc commit 2ef5404

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/linux/timeriomem-rng.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* Copyright (c) 2009 Alexander Clouter <[email protected]>
66
*/
77

8+
#ifndef _LINUX_TIMERIOMEM_RNG_H
9+
#define _LINUX_TIMERIOMEM_RNG_H
10+
811
struct timeriomem_rng_data {
912
void __iomem *address;
1013

@@ -14,3 +17,5 @@ struct timeriomem_rng_data {
1417
/* bits of entropy per 1024 bits read */
1518
unsigned int quality;
1619
};
20+
21+
#endif /* _LINUX_TIMERIOMEM_RNG_H */

0 commit comments

Comments
 (0)