mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -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:
committed by
Greg Kroah-Hartman
parent
c23df7de08
commit
6ce6ae7c17
@@ -53,7 +53,6 @@
|
||||
#define MAX_BOARD 8 /* maximum of pc board possible */
|
||||
#define MAX_ISA_BOARD 4
|
||||
#define LEN_RAM_IO 0x800
|
||||
#define AC_MINOR 157
|
||||
|
||||
#ifndef PCI_VENDOR_ID_APPLICOM
|
||||
#define PCI_VENDOR_ID_APPLICOM 0x1389
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#define NUM_PRESSES_REBOOT 2 /* How many presses to activate shutdown */
|
||||
#define BUTTON_DELAY 30 /* How many jiffies for sequence to end */
|
||||
#define VERSION "0.3" /* Driver version number */
|
||||
#define BUTTON_MINOR 158 /* Major 10, Minor 158, /dev/nwbutton */
|
||||
|
||||
/* Structure definitions: */
|
||||
|
||||
|
||||
@@ -61,8 +61,6 @@
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/toshiba.h>
|
||||
|
||||
#define TOSH_MINOR_DEV 181
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Jonathan Buzzard <jonathan@buzzard.org.uk>");
|
||||
MODULE_DESCRIPTION("Toshiba laptop SMM driver");
|
||||
|
||||
Reference in New Issue
Block a user