Author: jmcneill
Date: Wed Mar 23 19:21:21 2016
New Revision: 297213
URL: https://svnweb.freebsd.org/changeset/base/297213

Log:
  Return BUS_PROBE_GENERIC instead of 0 from ofw_clkbus_probe, giving
  platform specific drivers a chance to override the generic driver.
  
  Reviewed by:          mmel, adrian (mentor)
  Approved by:          adrian (mentor)
  Differential Revision:        https://reviews.freebsd.org/D5701

Modified:
  head/sys/dev/extres/clk/clk_bus.c

Modified: head/sys/dev/extres/clk/clk_bus.c
==============================================================================
--- head/sys/dev/extres/clk/clk_bus.c   Wed Mar 23 19:17:12 2016        
(r297212)
+++ head/sys/dev/extres/clk/clk_bus.c   Wed Mar 23 19:21:21 2016        
(r297213)
@@ -54,7 +54,7 @@ ofw_clkbus_probe(device_t dev)
 
        device_set_desc(dev, "OFW clocks bus");
 
-       return (0);
+       return (BUS_PROBE_GENERIC);
 }
 
 static int
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to