summaryrefslogtreecommitdiffstats
path: root/drivers/char/apm-emulation.c
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2016-12-15 14:36:33 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-10 15:46:41 -0500
commit874bcd00f520cac297aefade201c4efc07fc8d17 (patch)
treeae4a5c5189c5437926400c392174c4df2a9bf1b2 /drivers/char/apm-emulation.c
parent8681d5b04f812d9cc5cde72bbbb5081f8f1c9728 (diff)
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/apm-emulation.c')
-rw-r--r--drivers/char/apm-emulation.c7
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 @@
31#include <linux/kthread.h> 31#include <linux/kthread.h>
32#include <linux/delay.h> 32#include <linux/delay.h>
33 33
34
35/*
36 * The apm_bios device is one of the misc char devices.
37 * This is its minor number.
38 */
39#define APM_MINOR_DEV 134
40
41/* 34/*
42 * One option can be changed at boot time as follows: 35 * One option can be changed at boot time as follows:
43 * apm=on/off enable/disable APM 36 * apm=on/off enable/disable APM