plugin-base: fix finding the physical device again

Don't mis-use udev's ID_BUS key.
This commit is contained in:
Dan Williams
2009-06-29 14:24:43 -04:00
parent c106368ce7
commit 853af00142
2 changed files with 25 additions and 32 deletions

View File

@@ -102,6 +102,10 @@ struct _MMPluginBaseClass {
void (*cancel_task) (MMPluginBase *plugin,
MMPluginBaseSupportsTask *task);
/* Find a the physical device of a port, ie the USB or PCI or whatever
* "master" device that owns the port. The GUdevDevice object returned
* will be unref-ed by the caller.
*/
GUdevDevice * (*find_physical_device) (MMPluginBase *plugin,
GUdevDevice *port);