From 794c13c2e598629b7c81ac086afefc5c771578b5 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Sat, 10 Apr 2004 13:57:39 +0000 Subject: add got_udi() method move add/merge of class device to a single function add got_udi() method call got_udi() before adding (bus_device_got_udi): new function new function (block_class_post_process): set block.storage_device to the physical device, e.g. USB etc., backing the block device; simplify a bit --- hald/linux/ide_host_bus_device.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hald/linux/ide_host_bus_device.c') diff --git a/hald/linux/ide_host_bus_device.c b/hald/linux/ide_host_bus_device.c index 02359a6e..8b1ef8c4 100644 --- a/hald/linux/ide_host_bus_device.c +++ b/hald/linux/ide_host_bus_device.c @@ -108,6 +108,7 @@ BusDeviceHandler ide_host_bus_handler = { bus_device_removed, /**< device is removed */ ide_host_device_compute_udi, /**< UDI computing function */ ide_host_device_post_process, /**< add more properties */ + bus_device_got_udi, /**< got UDI */ "ide_host", /**< sysfs bus name */ "ide_host" /**< namespace */ }; -- cgit v1.2.3