aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2016-12-13 15:51:13 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-12-27 17:50:51 +0800
commitfd50d71f94fb1c8614098949db068cd4c8dbb91d (patch)
treed5dd6a3960c642a89325a33880d785973721f2fe /include/linux/miscdevice.h
parenthwrng: core - Replace asm/uaccess.h by linux/uaccess.h (diff)
downloadlinux-dev-fd50d71f94fb1c8614098949db068cd4c8dbb91d.tar.xz
linux-dev-fd50d71f94fb1c8614098949db068cd4c8dbb91d.zip
hwrng: core - Move hwrng miscdev minor number to include/linux/miscdevice.h
This patch move the define for hwrng's miscdev minor number to include/linux/miscdevice.h. It's better that all minor number are in the same place. Rename it to HWRNG_MINOR (from RNG_MISCDEV_MINOR) in he process since no other miscdev define have MISCDEV in their name. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r--include/linux/miscdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index ed30d5d713e3..5d81f739aa0a 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -31,6 +31,7 @@
#define SGI_MMTIMER 153
#define STORE_QUEUE_MINOR 155 /* unused */
#define I2O_MINOR 166
+#define HWRNG_MINOR 183
#define MICROCODE_MINOR 184
#define IRNET_MINOR 187
#define VFIO_MINOR 196