Move the export to a file used by both qdev.c and sysbus.c.
Signed-off-by: Blue Swirl <[email protected]>
/* This is a nasty hack to allow passing a NULL bus to qdev_create. */
static BusState *main_system_bus;
-extern struct BusInfo system_bus_info;
static DeviceInfo *device_info_list;
void qdev_prop_register_compat(CompatProperty *props);
void qdev_prop_set_compat(DeviceState *dev);
+/* This is a nasty hack to allow passing a NULL bus to qdev_create. */
+extern struct BusInfo system_bus_info;
+
#endif