mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
hwrng: Add QRNG driver snapshot for kona
This is a snapshot of the qrng driver as of msm-4.19
commit e74173d56eb2c869 ("hwrng: Add QRNG driver
snapshot for kona") with changes to comply with
msm-5.4 format requirement.
Change-Id: I930b0dfd70db8b2c1ffcb98965aabe45bffbd0ba
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
This commit is contained in:
parent
77a29a8c4d
commit
a064eb98a7
4 changed files with 512 additions and 0 deletions
13
include/uapi/linux/qrng.h
Normal file
13
include/uapi/linux/qrng.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
||||
#ifndef _UAPI_QRNG_H_
|
||||
#define _UAPI_QRNG_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
#define QRNG_IOC_MAGIC 0x100
|
||||
|
||||
#define QRNG_IOCTL_RESET_BUS_BANDWIDTH\
|
||||
_IO(QRNG_IOC_MAGIC, 1)
|
||||
|
||||
#endif /* _UAPI_QRNG_H_ */
|
||||
Loading…
Reference in a new issue