Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67405
b: refs/heads/master
c: 6fccab2
h: refs/heads/master
i:
  67403: d6811af
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Oct 3, 2007
1 parent 10c7843 commit 7f7f2eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: c868078ed82e3651b16f68a420ae7568de2102db
refs/heads/master: 6fccab26df4f59815d7ec912e4111a92807780de
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/kernel/vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@

extern struct kset devices_subsys; /* needed for vio_find_name() */

static struct bus_type vio_bus_type;

static struct vio_dev vio_bus_device = { /* fake "parent" device */
.name = vio_bus_device.dev.bus_id,
.type = "",
Expand Down Expand Up @@ -388,7 +390,7 @@ static int vio_hotplug(struct device *dev, char **envp, int num_envp,
return 0;
}

struct bus_type vio_bus_type = {
static struct bus_type vio_bus_type = {
.name = "vio",
.dev_attrs = vio_dev_attrs,
.uevent = vio_hotplug,
Expand Down
1 change: 0 additions & 1 deletion trunk/include/asm-powerpc/vio.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ struct vio_driver {
};

extern struct dma_mapping_ops vio_dma_ops;
extern struct bus_type vio_bus_type;

extern int vio_register_driver(struct vio_driver *drv);
extern void vio_unregister_driver(struct vio_driver *drv);
Expand Down

0 comments on commit 7f7f2eb

Please sign in to comment.