projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1a57dd
)
hwrng: n2 - Attach on T5/M5, T7/M7 SPARC CPUs
author
Anatoly Pugachev
<matorola@gmail.com>
Mon, 25 Jan 2016 21:19:02 +0000
(
00:19
+0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 26 Jan 2016 14:35:30 +0000
(22:35 +0800)
n2rng: Attach on T5/M5, T7/M7 SPARC CPUs
(space to tab fixes after variable names)
Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/n2-drv.c
patch
|
blob
|
history
diff --git
a/drivers/char/hw_random/n2-drv.c
b/drivers/char/hw_random/n2-drv.c
index 843d6f6aee7a30ec60f7f1f93de42b0d3dc6dc8a..3b06c1d6cfb280a18bd13716bfdbf2c38fa085ed 100644
(file)
--- a/
drivers/char/hw_random/n2-drv.c
+++ b/
drivers/char/hw_random/n2-drv.c
@@
-743,6
+743,16
@@
static const struct of_device_id n2rng_match[] = {
.compatible = "SUNW,kt-rng",
.data = (void *) 1,
},
+ {
+ .name = "random-number-generator",
+ .compatible = "ORCL,m4-rng",
+ .data = (void *) 1,
+ },
+ {
+ .name = "random-number-generator",
+ .compatible = "ORCL,m7-rng",
+ .data = (void *) 1,
+ },
{},
};
MODULE_DEVICE_TABLE(of, n2rng_match);