hwrng: core - Move hwrng miscdev minor number to include/linux/miscdevice.h
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Tue, 13 Dec 2016 14:51:13 +0000 (15:51 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 27 Dec 2016 09:50:51 +0000 (17:50 +0800)
commitfd50d71f94fb1c8614098949db068cd4c8dbb91d
treed5dd6a3960c642a89325a33880d785973721f2fe
parentaffdec58dafcf1cd7ff1dfaf2e4539b5532d0e84
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>
drivers/char/hw_random/core.c
include/linux/miscdevice.h