diff options
Diffstat (limited to 'include/linux/timeriomem-rng.h')
| -rw-r--r-- | include/linux/timeriomem-rng.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/timeriomem-rng.h b/include/linux/timeriomem-rng.h new file mode 100644 index 000000000000..dd253177f65f --- /dev/null +++ b/include/linux/timeriomem-rng.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* | ||
| 2 | * linux/include/linux/timeriomem-rng.h | ||
| 3 | * | ||
| 4 | * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk> | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #include <linux/completion.h> | ||
| 12 | |||
| 13 | struct timeriomem_rng_data { | ||
| 14 | struct completion completion; | ||
| 15 | unsigned int present:1; | ||
| 16 | |||
| 17 | u32 __iomem *address; | ||
| 18 | |||
| 19 | /* measures in usecs */ | ||
| 20 | unsigned int period; | ||
| 21 | }; | ||
