summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnatoly Pugachev <matorola@gmail.com>2016-01-26 00:19:02 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-26 22:35:30 +0800
commitc1e9b3b0eea12899b7749571af21cc60822cf2b6 (patch)
treeb10c2192b1874f084e5471c6d74bfc9950457dec /drivers
parentb1a57ddd23f4c596ff74b130373a93cc9f5bbf37 (diff)
hwrng: n2 - Attach on T5/M5, T7/M7 SPARC CPUs
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/hw_random/n2-drv.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c
index 843d6f6aee7a..3b06c1d6cfb2 100644
--- 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);