mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 06:56:52 +07:00
1907da78bf
timeriomem_rng only supports a single device instance. This patch enables multiple timeriomem_rng devices to coexist as well as adds some additional error checking. Signed-off-by: Alexander Clouter <alex@digriz.org.uk> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
17 lines
408 B
C
17 lines
408 B
C
/*
|
|
* linux/include/linux/timeriomem-rng.h
|
|
*
|
|
* Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
struct timeriomem_rng_data {
|
|
void __iomem *address;
|
|
|
|
/* measures in usecs */
|
|
unsigned int period;
|
|
};
|