summaryrefslogtreecommitdiff
path: root/udev_dbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev_dbus.h')
-rw-r--r--udev_dbus.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/udev_dbus.h b/udev_dbus.h
new file mode 100644
index 0000000000..afa2046548
--- /dev/null
+++ b/udev_dbus.h
@@ -0,0 +1,23 @@
+#ifndef UDEV_DBUS_H
+#define UDEV_DBUS_H
+
+
+#ifdef USE_DBUS
+
+extern void sysbus_connect(void);
+extern void sysbus_disconnect(void);
+extern void sysbus_send_create(struct udevice *dev, const char *path);
+extern void sysbus_send_remove(const char* name, const char *path);
+
+#else
+
+static inline void sysbus_connect(void) { }
+static inline void sysbus_disconnect(void) { }
+static inline void sysbus_send_create(struct udevice *dev, const char *path) { }
+static inline void sysbus_send_remove(const char* name, const char *path) { }
+
+#endif /* USE_DBUS */
+
+
+
+#endif