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
37769241
Commit
37769241
authored
Aug 30, 2002
by
Andy Grover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACPI trivial cleanups (Kochi Takayoshi)
parent
33173395
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
18 deletions
+15
-18
drivers/acpi/ac.c
drivers/acpi/ac.c
+1
-1
drivers/acpi/acpi_ksyms.c
drivers/acpi/acpi_ksyms.c
+1
-1
drivers/acpi/battery.c
drivers/acpi/battery.c
+2
-2
drivers/acpi/button.c
drivers/acpi/button.c
+0
-1
drivers/acpi/pci_irq.c
drivers/acpi/pci_irq.c
+1
-1
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+6
-6
drivers/acpi/pci_root.c
drivers/acpi/pci_root.c
+2
-2
drivers/acpi/system.c
drivers/acpi/system.c
+0
-2
include/linux/acpi.h
include/linux/acpi.h
+2
-2
No files found.
drivers/acpi/ac.c
View file @
37769241
...
...
@@ -51,7 +51,7 @@ static struct acpi_driver acpi_ac_driver = {
.
class
=
ACPI_AC_CLASS
,
.
ids
=
ACPI_AC_HID
,
.
ops
=
{
.
add
=
acpi_ac_add
,
.
add
=
acpi_ac_add
,
.
remove
=
acpi_ac_remove
,
},
};
...
...
drivers/acpi/acpi_ksyms.c
View file @
37769241
...
...
@@ -114,6 +114,7 @@ EXPORT_SYMBOL(acpi_evaluate_reference);
#ifdef CONFIG_ACPI_BUS
EXPORT_SYMBOL
(
acpi_fadt
);
EXPORT_SYMBOL
(
acpi_walk_namespace
);
EXPORT_SYMBOL
(
acpi_root_dir
);
EXPORT_SYMBOL
(
acpi_bus_get_device
);
EXPORT_SYMBOL
(
acpi_bus_get_status
);
...
...
@@ -127,4 +128,3 @@ EXPORT_SYMBOL(acpi_bus_scan);
EXPORT_SYMBOL
(
acpi_init
);
#endif
/*CONFIG_ACPI_BUS*/
drivers/acpi/battery.c
View file @
37769241
...
...
@@ -162,7 +162,7 @@ acpi_battery_get_info (
}
end:
k
free
(
buffer
.
pointer
);
acpi_os_
free
(
buffer
.
pointer
);
if
(
!
result
)
(
*
bif
)
=
(
struct
acpi_battery_info
*
)
data
.
pointer
;
...
...
@@ -223,7 +223,7 @@ acpi_battery_get_status (
}
end:
k
free
(
buffer
.
pointer
);
acpi_os_
free
(
buffer
.
pointer
);
if
(
!
result
)
(
*
bst
)
=
(
struct
acpi_battery_status
*
)
data
.
pointer
;
...
...
drivers/acpi/button.c
View file @
37769241
...
...
@@ -70,7 +70,6 @@ struct acpi_button {
static
struct
proc_dir_entry
*
acpi_button_dir
=
NULL
;
static
int
acpi_button_read_info
(
char
*
page
,
...
...
drivers/acpi/pci_irq.c
View file @
37769241
...
...
@@ -288,7 +288,7 @@ acpi_pci_irq_derive (
while
(
!
irq
&&
(
bridge
=
bridge
->
bus
->
self
))
{
pin
=
(
pin
+
PCI_SLOT
(
bridge
->
devfn
))
%
4
;
irq
=
acpi_pci_irq_lookup
(
0
,
bridge
->
bus
->
number
,
PCI_SLOT
(
bridge
->
devfn
),
pin
);
}
;
}
if
(
!
irq
)
{
ACPI_DEBUG_PRINT
((
ACPI_DB_WARN
,
"Unable to derive IRQ for device %s
\n
"
,
dev
->
slot_name
));
...
...
drivers/acpi/pci_link.c
View file @
37769241
...
...
@@ -54,12 +54,12 @@ static int acpi_pci_link_add (struct acpi_device *device);
static
int
acpi_pci_link_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_pci_link_driver
=
{
.
name
=
ACPI_PCI_LINK_DRIVER_NAME
,
.
class
=
ACPI_PCI_LINK_CLASS
,
.
ids
=
ACPI_PCI_LINK_HID
,
.
ops
=
{
.
add
=
acpi_pci_link_add
,
.
remove
=
acpi_pci_link_remove
,
.
name
=
ACPI_PCI_LINK_DRIVER_NAME
,
.
class
=
ACPI_PCI_LINK_CLASS
,
.
ids
=
ACPI_PCI_LINK_HID
,
.
ops
=
{
.
add
=
acpi_pci_link_add
,
.
remove
=
acpi_pci_link_remove
,
},
};
...
...
drivers/acpi/pci_root.c
View file @
37769241
...
...
@@ -51,8 +51,8 @@ static struct acpi_driver acpi_pci_root_driver = {
.
class
=
ACPI_PCI_ROOT_CLASS
,
.
ids
=
ACPI_PCI_ROOT_HID
,
.
ops
=
{
.
add
=
acpi_pci_root_add
,
.
remove
=
acpi_pci_root_remove
,
.
add
=
acpi_pci_root_add
,
.
remove
=
acpi_pci_root_remove
,
},
};
...
...
drivers/acpi/system.c
View file @
37769241
...
...
@@ -23,8 +23,6 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#define ACPI_C
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/module.h>
...
...
include/linux/acpi.h
View file @
37769241
...
...
@@ -354,11 +354,11 @@ void acpi_numa_arch_fixup(void);
extern
int
acpi_mp_config
;
#else
/*!CONFIG_ACPI_BOOT*/
#else
#define acpi_mp_config 0
#endif
/*CONFIG_ACPI_BOOT*/
#endif
#ifdef CONFIG_ACPI_PCI
...
...
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