driver model: fix matching bug.
If a device didn't match a driver, bus_match() returned 0, and device_attach() would break out of the loop. So, the first driver was the only one being checked every time.
Showing
Please register or sign in to comment