From 08e909c5963e60e3ee5855671630539ac19dc350 Mon Sep 17 00:00:00 2001
From: Julien Grall <julien.grall@linaro.org>
Date: Tue, 14 Jan 2014 01:41:08 +0000
Subject: [PATCH 11/48] xen/xenstore: xs_probe should return
 BUS_PROBE_NOWILDCARD

Returning 0 in probe callback means: the driver can use this device. If by any
chance xenstore is the first driver, every new device (which driver unset) will
use xenstore.
---
 sys/dev/xen/xenstore/xenstore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/xen/xenstore/xenstore.c b/sys/dev/xen/xenstore/xenstore.c
index 4cf985a..95e7edf 100644
--- a/sys/dev/xen/xenstore/xenstore.c
+++ b/sys/dev/xen/xenstore/xenstore.c
@@ -1124,7 +1124,7 @@ xs_probe(device_t dev)
 	 * Unconditionally return success.
 	 */
 	device_set_desc(dev, "XenStore");
-	return (0);
+	return (BUS_PROBE_NOWILDCARD);
 }
 
 static void
-- 
2.1.0

