Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10577
b: refs/heads/master
c: a1bdc7a
h: refs/heads/master
i:
  10575: 132fa6f
v: v3
  • Loading branch information
Ben Dooks authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent bf00d19 commit 22ab9a9
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 9 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: a7fadbe10ccf430e7a8add8b45c561d864087343
refs/heads/master: a1bdc7aad8b557176ccecff1da137ebe3090871e
2 changes: 2 additions & 0 deletions trunk/drivers/base/attribute_container.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include <linux/list.h>
#include <linux/module.h>

#include "base.h"

/* This is a private structure used to tie the classdev and the
* container .. it should never be visible outside this file */
struct internal_container {
Expand Down
12 changes: 12 additions & 0 deletions trunk/drivers/base/base.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@

/* initialisation functions */

extern int devices_init(void);
extern int buses_init(void);
extern int classes_init(void);
extern int firmware_init(void);
extern int platform_bus_init(void);
extern int system_bus_init(void);
extern int cpu_dev_init(void);
extern int attribute_container_init(void);

extern int bus_add_device(struct device * dev);
extern void bus_remove_device(struct device * dev);

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/base/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <linux/topology.h>
#include <linux/device.h>

#include "base.h"

struct sysdev_class cpu_sysdev_class = {
set_kset_name("cpu"),
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/base/firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
#include <linux/kobject.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>

#include "base.h"

static decl_subsys(firmware, NULL, NULL);

Expand Down
10 changes: 2 additions & 8 deletions trunk/drivers/base/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@
#include <linux/device.h>
#include <linux/init.h>

extern int devices_init(void);
extern int buses_init(void);
extern int classes_init(void);
extern int firmware_init(void);
extern int platform_bus_init(void);
extern int system_bus_init(void);
extern int cpu_dev_init(void);
extern int attribute_container_init(void);
#include "base.h"

/**
* driver_init - initialize driver model.
*
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/base/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include <linux/bootmem.h>
#include <linux/err.h>

#include "base.h"

struct device platform_bus = {
.bus_id = "platform",
};
Expand Down

0 comments on commit 22ab9a9

Please sign in to comment.