Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
d82a905c
Commit
d82a905c
authored
Sep 11, 2002
by
Patrick Mochel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACPI: move PREFIX to a common header
parent
7f835fc5
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
1 addition
and
40 deletions
+1
-40
drivers/acpi/ac.c
drivers/acpi/ac.c
+0
-3
drivers/acpi/acpi_bus.h
drivers/acpi/acpi_bus.h
+1
-0
drivers/acpi/battery.c
drivers/acpi/battery.c
+0
-2
drivers/acpi/blacklist.c
drivers/acpi/blacklist.c
+0
-2
drivers/acpi/bus.c
drivers/acpi/bus.c
+0
-2
drivers/acpi/button.c
drivers/acpi/button.c
+0
-3
drivers/acpi/ec.c
drivers/acpi/ec.c
+0
-3
drivers/acpi/fan.c
drivers/acpi/fan.c
+0
-3
drivers/acpi/numa.c
drivers/acpi/numa.c
+0
-2
drivers/acpi/pci_bind.c
drivers/acpi/pci_bind.c
+0
-3
drivers/acpi/pci_irq.c
drivers/acpi/pci_irq.c
+0
-2
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+0
-3
drivers/acpi/pci_root.c
drivers/acpi/pci_root.c
+0
-2
drivers/acpi/power.c
drivers/acpi/power.c
+0
-3
drivers/acpi/processor.c
drivers/acpi/processor.c
+0
-2
drivers/acpi/system.c
drivers/acpi/system.c
+0
-2
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+0
-3
No files found.
drivers/acpi/ac.c
View file @
d82a905c
...
...
@@ -40,9 +40,6 @@ MODULE_AUTHOR("Paul Diefenbaugh");
MODULE_DESCRIPTION
(
ACPI_AC_DRIVER_NAME
);
MODULE_LICENSE
(
"GPL"
);
#define PREFIX "ACPI: "
int
acpi_ac_add
(
struct
acpi_device
*
device
);
int
acpi_ac_remove
(
struct
acpi_device
*
device
,
int
type
);
...
...
drivers/acpi/acpi_bus.h
View file @
d82a905c
...
...
@@ -35,6 +35,7 @@
#include "include/acpi.h"
#define PREFIX "ACPI: "
/* TBD: Make dynamic */
#define ACPI_MAX_HANDLES 10
...
...
drivers/acpi/battery.c
View file @
d82a905c
...
...
@@ -40,8 +40,6 @@ MODULE_AUTHOR("Paul Diefenbaugh");
MODULE_DESCRIPTION
(
ACPI_BATTERY_DRIVER_NAME
);
MODULE_LICENSE
(
"GPL"
);
#define PREFIX "ACPI: "
#define ACPI_BATTERY_VALUE_UNKNOWN 0xFFFFFFFF
...
...
drivers/acpi/blacklist.c
View file @
d82a905c
...
...
@@ -31,8 +31,6 @@
#include <linux/acpi.h>
#include "acpi_bus.h"
#define PREFIX "ACPI: "
enum
acpi_blacklist_predicates
{
all_versions
,
...
...
drivers/acpi/bus.c
View file @
d82a905c
...
...
@@ -47,8 +47,6 @@ MODULE_AUTHOR("Paul Diefenbaugh");
MODULE_DESCRIPTION
(
ACPI_BUS_DRIVER_NAME
);
MODULE_LICENSE
(
"GPL"
);
#define PREFIX "ACPI: "
extern
void
eisa_set_level_irq
(
unsigned
int
irq
);
extern
int
acpi_disabled
;
...
...
drivers/acpi/button.c
View file @
d82a905c
...
...
@@ -40,9 +40,6 @@ MODULE_AUTHOR("Paul Diefenbaugh");
MODULE_DESCRIPTION
(
ACPI_BUTTON_DRIVER_NAME
);
MODULE_LICENSE
(
"GPL"
);
#define PREFIX "ACPI: "
int
acpi_button_add
(
struct
acpi_device
*
device
);
int
acpi_button_remove
(
struct
acpi_device
*
device
,
int
type
);
...
...
drivers/acpi/ec.c
View file @
d82a905c
...
...
@@ -38,9 +38,6 @@
#define _COMPONENT ACPI_EC_COMPONENT
ACPI_MODULE_NAME
(
"acpi_ec"
)
#define PREFIX "ACPI: "
#define ACPI_EC_FLAG_OBF 0x01
/* Output buffer full */
#define ACPI_EC_FLAG_IBF 0x02
/* Input buffer full */
#define ACPI_EC_FLAG_SCI 0x20
/* EC-SCI occurred */
...
...
drivers/acpi/fan.c
View file @
d82a905c
...
...
@@ -40,9 +40,6 @@ MODULE_AUTHOR("Paul Diefenbaugh");
MODULE_DESCRIPTION
(
ACPI_FAN_DRIVER_NAME
);
MODULE_LICENSE
(
"GPL"
);
#define PREFIX "ACPI: "
int
acpi_fan_add
(
struct
acpi_device
*
device
);
int
acpi_fan_remove
(
struct
acpi_device
*
device
,
int
type
);
...
...
drivers/acpi/numa.c
View file @
d82a905c
...
...
@@ -30,8 +30,6 @@
#include <linux/errno.h>
#include <linux/acpi.h>
#define PREFIX "ACPI: "
extern
int
__init
acpi_table_parse_madt_family
(
enum
acpi_table_id
id
,
unsigned
long
madt_size
,
int
entry_id
,
acpi_madt_entry_handler
handler
);
void
__init
...
...
drivers/acpi/pci_bind.c
View file @
d82a905c
...
...
@@ -39,9 +39,6 @@
#define _COMPONENT ACPI_PCI_COMPONENT
ACPI_MODULE_NAME
(
"pci_bind"
)
#define PREFIX "ACPI: "
struct
acpi_pci_data
{
acpi_pci_id
id
;
struct
pci_bus
*
bus
;
...
...
drivers/acpi/pci_irq.c
View file @
d82a905c
...
...
@@ -41,8 +41,6 @@
#define _COMPONENT ACPI_PCI_COMPONENT
ACPI_MODULE_NAME
(
"pci_irq"
)
#define PREFIX "PCI: "
struct
acpi_prt_list
acpi_prt
;
#ifdef CONFIG_X86
...
...
drivers/acpi/pci_link.c
View file @
d82a905c
...
...
@@ -45,9 +45,6 @@
#define _COMPONENT ACPI_PCI_COMPONENT
ACPI_MODULE_NAME
(
"pci_link"
)
#define PREFIX "ACPI: "
#define ACPI_PCI_LINK_MAX_POSSIBLE 16
static
int
acpi_pci_link_add
(
struct
acpi_device
*
device
);
...
...
drivers/acpi/pci_root.c
View file @
d82a905c
...
...
@@ -41,8 +41,6 @@ ACPI_MODULE_NAME ("pci_root")
extern
struct
pci_ops
*
pci_root_ops
;
#define PREFIX "ACPI: "
static
int
acpi_pci_root_add
(
struct
acpi_device
*
device
);
static
int
acpi_pci_root_remove
(
struct
acpi_device
*
device
,
int
type
);
...
...
drivers/acpi/power.c
View file @
d82a905c
...
...
@@ -36,9 +36,6 @@
#define _COMPONENT ACPI_POWER_COMPONENT
ACPI_MODULE_NAME
(
"acpi_power"
)
#define PREFIX "ACPI: "
int
acpi_power_add
(
struct
acpi_device
*
device
);
int
acpi_power_remove
(
struct
acpi_device
*
device
,
int
type
);
...
...
drivers/acpi/processor.c
View file @
d82a905c
...
...
@@ -51,8 +51,6 @@ MODULE_AUTHOR("Paul Diefenbaugh");
MODULE_DESCRIPTION
(
ACPI_PROCESSOR_DRIVER_NAME
);
MODULE_LICENSE
(
"GPL"
);
#define PREFIX "ACPI: "
#define US_TO_PM_TIMER_TICKS(t) ((t * (PM_TIMER_FREQUENCY/1000)) / 1000)
#define C2_OVERHEAD 4
/* 1us (3.579 ticks per us) */
#define C3_OVERHEAD 4
/* 1us (3.579 ticks per us) */
...
...
drivers/acpi/system.c
View file @
d82a905c
...
...
@@ -53,8 +53,6 @@
#define _COMPONENT ACPI_SYSTEM_COMPONENT
ACPI_MODULE_NAME
(
"acpi_system"
)
#define PREFIX "ACPI: "
extern
FADT_DESCRIPTOR
acpi_fadt
;
static
int
acpi_system_add
(
struct
acpi_device
*
device
);
...
...
drivers/acpi/thermal.c
View file @
d82a905c
...
...
@@ -54,9 +54,6 @@ static int tzp = 0;
MODULE_PARM
(
tzp
,
"i"
);
MODULE_PARM_DESC
(
tzp
,
"Thermal zone polling frequency, in 1/10 seconds.
\n
"
);
#define PREFIX "ACPI: "
#define ACPI_THERMAL_MAX_ACTIVE 10
#define KELVIN_TO_CELSIUS(t) ((t-2732+5)/10)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment