summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwish.07@gmail.com>2016-04-22 21:51:27 +0200
committerTanu Kaskinen <tanuk@iki.fi>2016-04-25 19:44:10 +0300
commita831e455159ff1ce917d5526ba4966b7a1ad5aac (patch)
tree20df169ff01148896f86db4bb3c2be164e6ea98b
parenta1713476d5caee51ae84cc78e8f1187e861f66d9 (diff)
downloadpulseaudio-a831e455159ff1ce917d5526ba4966b7a1ad5aac.tar.gz
detect: Don't deprecate module-detect on non-Linux systems
The advertised alternative, module-udev-detect, is Linux-specific. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=94339 Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
-rw-r--r--src/modules/module-detect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/module-detect.c b/src/modules/module-detect.c
index a9a2de048..d6c6b76d7 100644
--- a/src/modules/module-detect.c
+++ b/src/modules/module-detect.c
@@ -46,7 +46,10 @@ PA_MODULE_DESCRIPTION("Detect available audio hardware and load matching drivers
PA_MODULE_VERSION(PACKAGE_VERSION);
PA_MODULE_LOAD_ONCE(true);
PA_MODULE_USAGE("just-one=<boolean>");
+
+#ifdef __linux__
PA_MODULE_DEPRECATED("Please use module-udev-detect instead of module-detect!");
+#endif
static const char* const valid_modargs[] = {
"just-one",