diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-22 16:09:05 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-29 22:48:04 -0700 |
commit | 23d3d602cb96addd3c1158424fb01a49ea5e81b1 (patch) | |
tree | 2daa85579c964bfe3d1a91fe365d202b8f38422b /include/linux | |
parent | afdce75f1eaebcf358b7594ba7969aade105c3b0 (diff) | |
download | op-kernel-dev-23d3d602cb96addd3c1158424fb01a49ea5e81b1.zip op-kernel-dev-23d3d602cb96addd3c1158424fb01a49ea5e81b1.tar.gz |
[PATCH] driver core: change bus_rescan_devices to return void
No one was looking at the return value of bus_rescan_devices, and it
really wasn't anything that anyone in the kernel would ever care about.
So change it which enabled some counting code to be removed also.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 07222c5..f378c84 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -69,7 +69,7 @@ struct bus_type { extern int bus_register(struct bus_type * bus); extern void bus_unregister(struct bus_type * bus); -extern int bus_rescan_devices(struct bus_type * bus); +extern void bus_rescan_devices(struct bus_type * bus); extern struct bus_type * get_bus(struct bus_type * bus); extern void put_bus(struct bus_type * bus); |