Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44828
b: refs/heads/master
c: 1f21782
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Greg Kroah-Hartman committed Dec 20, 2006
1 parent 116e8a3 commit 6e671ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 542cfce6f36e8c43f71ae9c235b78497f350ae55
refs/heads/master: 1f21782e63da81f56401a813a52091ef2703838f
4 changes: 2 additions & 2 deletions trunk/drivers/acpi/ibm_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ static char *next_cmd(char **cmds)
return start;
}

static int driver_init(void)
static int ibm_acpi_driver_init(void)
{
printk(IBM_INFO "%s v%s\n", IBM_DESC, IBM_VERSION);
printk(IBM_INFO "%s\n", IBM_URL);
Expand Down Expand Up @@ -1605,7 +1605,7 @@ static int fan_write(char *buf)
static struct ibm_struct ibms[] = {
{
.name = "driver",
.init = driver_init,
.init = ibm_acpi_driver_init,
.read = driver_read,
},
{
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@ static inline int device_is_registered(struct device *dev)
return dev->is_registered;
}

void driver_init(void);

/*
* High level routines for use by the bus drivers
*/
Expand Down
2 changes: 1 addition & 1 deletion trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#include <linux/utsrelease.h>
#include <linux/pid_namespace.h>
#include <linux/compile.h>
#include <linux/device.h>

#include <asm/io.h>
#include <asm/bugs.h>
Expand Down Expand Up @@ -94,7 +95,6 @@ extern void pidmap_init(void);
extern void prio_tree_init(void);
extern void radix_tree_init(void);
extern void free_initmem(void);
extern void driver_init(void);
extern void prepare_namespace(void);
#ifdef CONFIG_ACPI
extern void acpi_early_init(void);
Expand Down

0 comments on commit 6e671ac

Please sign in to comment.