diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2016-12-15 20:36:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-10 21:46:41 +0100 |
commit | 874bcd00f520cac297aefade201c4efc07fc8d17 (patch) | |
tree | ae4a5c5189c5437926400c392174c4df2a9bf1b2 /drivers/char | |
parent | ds1302: remove unneeded linux/miscdevice.h include (diff) | |
download | linux-874bcd00f520cac297aefade201c4efc07fc8d17.tar.xz linux-874bcd00f520cac297aefade201c4efc07fc8d17.zip |
apm-emulation: move APM_MINOR_DEV to include/linux/miscdevice.h
This patch move the define for APM_MINOR_DEV to include/linux/miscdevice.h
It is better that all minor number definitions are in the same place.
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/apm-emulation.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/char/apm-emulation.c b/drivers/char/apm-emulation.c index dd9dfa15e9d1..1dfb9f8de171 100644 --- a/drivers/char/apm-emulation.c +++ b/drivers/char/apm-emulation.c @@ -31,13 +31,6 @@ #include <linux/kthread.h> #include <linux/delay.h> - -/* - * The apm_bios device is one of the misc char devices. - * This is its minor number. - */ -#define APM_MINOR_DEV 134 - /* * One option can be changed at boot time as follows: * apm=on/off enable/disable APM |