From 1a2706886513c20507af7346ee1d07c7b48ff8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 18 Jan 2005 19:02:02 +0000 Subject: [PATCH] Renamed the probe() hook to register_device() (might not yet match the functionality as good as probe(), but that will change soon). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10848 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/drivers/device_manager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/os/drivers/device_manager.h b/headers/os/drivers/device_manager.h index 07bf88725f..560aa71332 100644 --- a/headers/os/drivers/device_manager.h +++ b/headers/os/drivers/device_manager.h @@ -417,8 +417,8 @@ struct driver_module_info { status_t (*uninit_device)(void *cookie); // driver gets unloaded. - - status_t (*probe)(device_node_handle parent); + + status_t (*register_device)(device_node_handle parent); // parent was added or is rescanned. // check whether this parent is supported and register // any consumer device. Dynamic consumers must return