diff --git a/profiles/proximity/manager.c b/profiles/proximity/manager.c
index 6368221..fddb629 100644
--- a/profiles/proximity/manager.c
+++ b/profiles/proximity/manager.c
.device_probe = attio_device_probe,
.device_remove = attio_device_remove,
- .adapter_probe = reporter_init,
- .adapter_remove = reporter_exit,
+ .adapter_probe = reporter_adapter_probe,
+ .adapter_remove = reporter_adapter_remove,
};
static void load_config_file(GKeyFile *config)
diff --git a/profiles/proximity/reporter.c b/profiles/proximity/reporter.c
index d2eb194..59af308 100644
--- a/profiles/proximity/reporter.c
+++ b/profiles/proximity/reporter.c
unregister_reporter_device(device, radapter);
}
-int reporter_init(struct btd_adapter *adapter)
+int reporter_adapter_probe(struct btd_adapter *adapter)
{
struct reporter_adapter *radapter;
DBusConnection *conn;
return 0;
}
-void reporter_exit(struct btd_adapter *adapter)
+void reporter_adapter_remove(struct btd_adapter *adapter)
{
struct reporter_adapter *radapter = find_reporter_adapter(adapter);
if (!radapter)
diff --git a/profiles/proximity/reporter.h b/profiles/proximity/reporter.h
index 4f3bee2..d038c0e 100644
--- a/profiles/proximity/reporter.h
+++ b/profiles/proximity/reporter.h
void reporter_device_remove(struct btd_device *device);
int reporter_device_probe(struct btd_device *device);
-int reporter_init(struct btd_adapter *adapter);
-void reporter_exit(struct btd_adapter *adapter);
+int reporter_adapter_probe(struct btd_adapter *adapter);
+void reporter_adapter_remove(struct btd_adapter *adapter);
const char *get_alert_level_string(uint8_t level);