From: Anatoly Pugachev Date: Mon, 25 Jan 2016 21:19:02 +0000 (+0300) Subject: hwrng: n2 - Attach on T5/M5, T7/M7 SPARC CPUs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c1e9b3b0eea12899b7749571af21cc60822cf2b6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Herbert Xu --- 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);