Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18378
b: refs/heads/master
c: 83dfb8b
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Greg Kroah-Hartman committed Jan 13, 2006
1 parent 1061db6 commit b05989c
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 5c0784c350516856ed15deb6adf6b053bf427792
refs/heads/master: 83dfb8b67522f6cf1fc5771a8be0a9095eea65d4
16 changes: 8 additions & 8 deletions trunk/arch/ia64/sn/kernel/tiocx.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ static void tiocx_bus_release(struct device *dev)
kfree(to_cx_dev(dev));
}

struct bus_type tiocx_bus_type = {
.name = "tiocx",
.match = tiocx_match,
.uevent = tiocx_uevent,
};

/**
* cx_device_match - Find cx_device in the id table.
* @ids: id table from driver
Expand Down Expand Up @@ -149,6 +143,14 @@ static int cx_driver_remove(struct device *dev)
return 0;
}

struct bus_type tiocx_bus_type = {
.name = "tiocx",
.match = tiocx_match,
.uevent = tiocx_uevent,
.probe = cx_device_probe,
.remove = cx_driver_remove,
};

/**
* cx_driver_register - Register the driver.
* @cx_driver: driver table (cx_drv struct) from driver
Expand All @@ -162,8 +164,6 @@ int cx_driver_register(struct cx_drv *cx_driver)
{
cx_driver->driver.name = cx_driver->name;
cx_driver->driver.bus = &tiocx_bus_type;
cx_driver->driver.probe = cx_device_probe;
cx_driver->driver.remove = cx_driver_remove;

return driver_register(&cx_driver->driver);
}
Expand Down

0 comments on commit b05989c

Please sign in to comment.