mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
misc: cleanup minor number definitions in c file into miscdevice.h
HWRNG_MINOR and RNG_MISCDEV_MINOR are duplicate definitions, use unified HWRNG_MINOR instead and moved into miscdevice.h ANSLCD_MINOR and LCD_MINOR are duplicate definitions, use unified LCD_MINOR instead and moved into miscdevice.h MISCDEV_MINOR is renamed to PXA3XX_GCU_MINOR and moved into miscdevice.h Other definitions are just moved without any change. Link: https://lore.kernel.org/lkml/20200120221323.GJ15860@mit.edu/t/ Suggested-by: Arnd Bergmann <arnd@arndb.de> Build-tested-by: Willy TARREAU <wtarreau@haproxy.com> Build-tested-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@gmail.com> Acked-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Link: https://lore.kernel.org/r/20200311071654.335-2-zhenzhong.duan@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c23df7de08
commit
6ce6ae7c17
14 changed files with 15 additions and 27 deletions
|
@ -31,14 +31,23 @@
|
|||
#define DMAPI_MINOR 140 /* unused */
|
||||
#define NVRAM_MINOR 144
|
||||
#define SGI_MMTIMER 153
|
||||
#define PMU_MINOR 154
|
||||
#define STORE_QUEUE_MINOR 155 /* unused */
|
||||
#define LCD_MINOR 156
|
||||
#define AC_MINOR 157
|
||||
#define BUTTON_MINOR 158 /* Major 10, Minor 158, /dev/nwbutton */
|
||||
#define ENVCTRL_MINOR 162
|
||||
#define I2O_MINOR 166
|
||||
#define UCTRL_MINOR 174
|
||||
#define AGPGART_MINOR 175
|
||||
#define TOSH_MINOR_DEV 181
|
||||
#define HWRNG_MINOR 183
|
||||
#define MICROCODE_MINOR 184
|
||||
#define KEYPAD_MINOR 185
|
||||
#define IRNET_MINOR 187
|
||||
#define D7S_MINOR 193
|
||||
#define VFIO_MINOR 196
|
||||
#define PXA3XX_GCU_MINOR 197
|
||||
#define TUN_MINOR 200
|
||||
#define CUSE_MINOR 203
|
||||
#define MWAVE_MINOR 219 /* ACP/Mwave Modem */
|
||||
|
@ -49,6 +58,7 @@
|
|||
#define MISC_MCELOG_MINOR 227
|
||||
#define HPET_MINOR 228
|
||||
#define FUSE_MINOR 229
|
||||
#define SNAPSHOT_MINOR 231
|
||||
#define KVM_MINOR 232
|
||||
#define BTRFS_MINOR 234
|
||||
#define AUTOFS_MINOR 235
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue