-static void vio_add(struct mdesc_handle *hp, u64 node)
-{
- const char *name = mdesc_get_property(hp, node, "name", NULL);
- const u64 *id = mdesc_get_property(hp, node, "id", NULL);
-
- printk(KERN_ERR "VIO: Device add (%s) ID[%lx]\n",
- name, *id);
-}
-
-static void vio_remove(struct mdesc_handle *hp, u64 node)
-{
- const char *name = mdesc_get_property(hp, node, "name", NULL);
- const u64 *id = mdesc_get_property(hp, node, "id", NULL);
-
- printk(KERN_ERR "VIO: Device remove (%s) ID[%lx]\n",
- name, *id);
-}
-
-static struct mdesc_notifier_client vio_device_notifier = {
- .add = vio_add,
- .remove = vio_remove,
- .node_name = "virtual-device-port",
-};
-
-static struct mdesc_notifier_client vio_ds_notifier = {
- .add = vio_add,
- .remove = vio_remove,
- .node_name = "domain-services-port",
-};
-