summaryrefslogtreecommitdiffstats
path: root/include/linux/virtio_rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/virtio_rng.h')
-rw-r--r--include/linux/virtio_rng.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/virtio_rng.h b/include/linux/virtio_rng.h
new file mode 100644
index 000000000000..331afb6c9f62
--- /dev/null
+++ b/include/linux/virtio_rng.h
@@ -0,0 +1,8 @@
+#ifndef _LINUX_VIRTIO_RNG_H
+#define _LINUX_VIRTIO_RNG_H
+#include <linux/virtio_config.h>
+
+/* The ID for virtio_rng */
+#define VIRTIO_ID_RNG 4
+
+#endif /* _LINUX_VIRTIO_RNG_H */
OpenPOWER on IntegriCloud