projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[HWRNG]: move status polling loop to data_present callbacks
[powerpc.git]
/
include
/
linux
/
hw_random.h
diff --git
a/include/linux/hw_random.h
b/include/linux/hw_random.h
index
21ea761
..
85d1191
100644
(file)
--- a/
include/linux/hw_random.h
+++ b/
include/linux/hw_random.h
@@
-33,7
+33,7
@@
struct hwrng {
const char *name;
int (*init)(struct hwrng *rng);
void (*cleanup)(struct hwrng *rng);
- int (*data_present)(struct hwrng *rng);
+ int (*data_present)(struct hwrng *rng
, int wait
);
int (*data_read)(struct hwrng *rng, u32 *data);
unsigned long priv;