From df53b6783a275a59bfe38f721970ed55b191645e Mon Sep 17 00:00:00 2001 From: Zhen Kong Date: Wed, 24 Feb 2016 17:24:06 -0800 Subject: hw_random: add snapshot of msm_rng driver This snapshot is taken as of msm-3.18 commit e70ad0cd (Promotion of kernel.lnx.3.18-151201.) Acked-by: Shabnam Aboughadareh Signed-off-by: Zhen Kong --- include/uapi/linux/Kbuild | 1 + include/uapi/linux/qrng.h | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 include/uapi/linux/qrng.h (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index 93f52c0d2700..d697aec50579 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild @@ -380,6 +380,7 @@ header-y += qcota.h header-y += qnx4_fs.h header-y += qnxtypes.h header-y += qseecom.h +header-y += qrng.h header-y += quota.h header-y += radeonfb.h header-y += random.h diff --git a/include/uapi/linux/qrng.h b/include/uapi/linux/qrng.h new file mode 100644 index 000000000000..5efe16d0ccfc --- /dev/null +++ b/include/uapi/linux/qrng.h @@ -0,0 +1,12 @@ +#ifndef _UAPI_QRNG_H_ +#define _UAPI_QRNG_H_ + +#include +#include + +#define QRNG_IOC_MAGIC 0x100 + +#define QRNG_IOCTL_RESET_BUS_BANDWIDTH\ + _IO(QRNG_IOC_MAGIC, 1) + +#endif /* _UAPI_QRNG_H_ */ -- cgit v1.2.3