aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin-base.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-06-29 14:24:43 -0400
committerDan Williams <dcbw@redhat.com>2009-06-29 14:24:43 -0400
commit853af00142256d2eeae7039a1b7e8dd64cf9105e (patch)
tree501a71d4dcb70f1579115b57c18894c2f0c9c4ae /src/mm-plugin-base.h
parentc106368ce7c06e0ae5b64cc6146ad05c3b9fa819 (diff)
plugin-base: fix finding the physical device again
Don't mis-use udev's ID_BUS key.
Diffstat (limited to 'src/mm-plugin-base.h')
-rw-r--r--src/mm-plugin-base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-plugin-base.h b/src/mm-plugin-base.h
index e426956d..91d3ddba 100644
--- a/src/mm-plugin-base.h
+++ b/src/mm-plugin-base.h
@@ -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);