OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / include / linux / timeriomem-rng.h
blob3e08a1c86830cafe031e0eea27e2eb0ee07ba4b7
1 /*
2 * linux/include/linux/timeriomem-rng.h
4 * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
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 */
11 #include <linux/completion.h>
13 struct timeriomem_rng_data {
14 struct completion completion;
15 unsigned int present:1;
17 void __iomem *address;
19 /* measures in usecs */
20 unsigned int period;